Re: 0.15.1.post1 packaging/versioning problem

Guenter Milde via Docutils-users <[email protected]> Fri, 26 Jul 2019 11:01:18 -0000 (UTC)
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On 2019-07-25, Andrew Jaffe wrote:

> Hi, 

> There’s a problem with the latest release version — even if you install
> the `post1` version, it doesn’t register and still shows a need to
> upgrade. Happens with `pip`/`pip2`/`pip3`.


> ~$ pip list --outdated 
> Package  Version Latest       Type 
> -------- ------- ------------ -----
> docutils 0.15.1  0.15.1.post1 sdist

> ~$ pip install --upgrade docutils
> Collecting docutils
> Installing collected packages: docutils
>   Found existing installation: docutils 0.15.1
>     Uninstalling docutils-0.15.1:
>       Successfully uninstalled docutils-0.15.1
> Successfully installed docutils-0.15.1

> ~$ pip list --outdated 
> Package  Version Latest       Type 
> -------- ------- ------------ -----
> docutils 0.15.1  0.15.1.post1 sdist

I suppose this is because the tar archive should have been named
"docutils-0.15.1.tar.gz" instead of docutils-0.15.1-post1.tar.gz
(the post1 is only for sub-sub micro releases).

To fix the version issues and the test failures reported by Dmitry,
I suggest a 0.15.2 release with 

* docutils-0.15.2.tar.gz
* docutils-0.15.2-py2-none-any.whl 
* docutils-0.15.2-py3-none-any.whl

(even if no change to 0.15 is required for py3).

Günter



_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.