[Distutils] PEP440: >1.7 vs >=1.7

Marcus Smith qwcode at gmail.com
Sun Dec 28 02:35:53 CET 2014


I'm starting a new thread to state cleanly what my current question/concern
is...

per PEP440 as I understand it:
- for ">1.7", "1.7" means roughly the "1.7 series" or "1.7*"
- for ">=1.7", "1.7" means literally "1.7" (with zero-padding as needed)

While I understand the motivation for the "series" conception of 1.7 to
deal with  prereleases, the resulting inconsistency in meaning for "1.7" is
what concerns me.  It's odd .  Can someone make it not seem odd for "1.7 to
change meanings just because you switch between >= and >?

And for anyone who wants to say that "1.7" also means the "1.7 series" for
>=, note that 1.7 prereleases do not satisfy >=1.7

Would a solution be to make >= also use the series concept?, i.e. make
pre-releases satisfy >=1.7

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20141227/83e37623/attachment-0001.html>


More information about the Distutils-SIG mailing list