[Distutils] PEP345 - Distutils2 - Cannot pin to exact version

Daniel Holth dholth at gmail.com
Tue Sep 11 21:34:23 CEST 2012


On Tue, Sep 11, 2012 at 3:31 PM, Tarek Ziadé <tarek at ziade.org> wrote:
> On 9/11/12 9:25 PM, Erik Bray wrote:
>>
>> ...
>>
>>> But you could still release 2.5.1.0.0? I suppose we limit the number
>>> of version parts these days.
>>>
>>> Why don't we update the spec so that (2.0) means (2.0) the range, and
>>> (==2.0) means 2.0 (exactly).
>>>
>>> Daniel
>>
>> The PEP is ambiguous on this, but you could get away with reading it
>> as "When a version is provided (without a conditional operator) it
>> always includes all versions that start with the same value".
>> Although it's unwritten in the PEP exactly how the operators are meant
>> to be interpreted, I would say they should be interpreted strictly.
>
>
>  Yeah that's what we wanted to do back then, I recall now.
>
> +1 for the clarification - since it's just rephrasing thing we don't need a
> new PEP I guess
>
> and we can fix the implementations
>
> Cheers
> Tarek

We do have a new PEP anyway.

http://www.python.org/dev/peps/pep-0426/ Metadata 1.3


More information about the Distutils-SIG mailing list