Re: 0.15.1.post1 packaging/versioning problem

engelbert gruber <[email protected]> Tue, 30 Jul 2019 11:11:55 +0200
Newsgroups gmane.text.docutils.user
Message-ID <CAHnbgBPQ=ME8bh-n-goD3Fmtm-01p3e3J_RspkbKW1KK2XkUTQ@mail.gmail.com>
post is (in my understanding) if no code changed.

so an upgrade from -0.15.1 to 0.15.1.post1 would not be necessary

to a system (e.g. pip) would not read the "post" word but only count parts
in the version
0.15.1 is the same as 0.15.1-post1 and both are smaller than 0.15.1.post1

whl-packages of version 0.15.1.post1 have to be changed
if the "-" ist used (0.15.1-post1) then the whl-file can be simply renamed.

then i will pack 0.15.2 soon

On Fri, 26 Jul 2019 at 13:02, Guenter Milde via Docutils-users <
[email protected]> wrote:

> 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.
>