[Distutils] PEP440: >1.7 vs >=1.7

Ian Cordasco graffatcolmingov at gmail.com
Sun Dec 28 02:51:58 CET 2014


On Sat, Dec 27, 2014 at 7:35 PM, Marcus Smith <qwcode at gmail.com> wrote:
>
> 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*"

You mean "1.7.*" right? Because 1.70 would satisfy >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
>
>
>
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>


More information about the Distutils-SIG mailing list