[prev in list] [next in list] [prev in thread] [next in thread]
List: python-distutils-sig
Subject: [Distutils] PEP 440
From: Michael Goerz <goerz () stanford ! edu>
Date: 2018-12-26 0:44:25
Message-ID: ADCAF251-03E6-4786-BA1C-D7E895FAA7D8 () stanford ! edu
[Download RAW message or body]
PEP 440 contains a section that claims:
> Summary of differences from pkg_resources.parse_version \
> [https://www.python.org/dev/peps/pep-0440/#id63]
> * Local versions sort differently, this PEP requires that they sort as greater than \
> the same version without a local version, whereas pkg_resources.parse_version \
> considers it a pre-release marker.
I haven't been able to find any mention of this in the setuptools changelogs, but \
this no longer seems to be the case:
>>> from pkg_resources import parse_version
>>> parse_version('1.0.0+dev') > parse_version('1.0.0')
True
Thus, it might be good to change the comment in the PEP accordingly (ideally, someone \
is able to figure out in which version of setuptools parse_version started to be \
compatible with PEP440).
Best,
Michael Goerz
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-leave@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/distutils-sig@python.org/message/OXN53BWJYSMFK535OWUJR5MAXEIBWRBX/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic