[Distutils] markers, <= and python 2.7.10

Nick Coghlan ncoghlan at gmail.com
Fri Jul 3 13:40:07 CEST 2015


On 3 July 2015 at 02:03, Donald Stufft <donald at stufft.io> wrote:
> On July 2, 2015 at 10:34:35 AM, Nick Coghlan (ncoghlan at gmail.com) wrote:
>> That's what I was thinking. The one slight difference is that I don't
>> believe we'd want any special case handling of pre-releases in
>> environment markers - if I have a Python alpha installed, I'd want it
>> treated as equivalent to the corresponding final release, since
>> constraint checking isn't the same as choosing the "best" version for
>> download/installation.
>
> Well, even in the case for dependencies we say that a pre-release
> should be accepted if it’s installed which would be in that vein
> IMO. I agree that it’d be useful to call that out explicitly though.

+1

For the benefit of the list, note that James Polley has started a
draft of this extracted PEP:
https://github.com/pypa/interoperability-peps/pull/29

Aside from the version handling, I'm not aware of any other major
gripes with the current environment markers, so now's the time to let
me know if there are other actual problems that need to be fixed :)

(I'm not worried about missing features at this point - it's hard for
those to qualify as urgent given how long we've already gone without
them, but handling 2.7.10 correctly is pretty important)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list