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

Tarek Ziadé tarek at ziade.org
Tue Sep 11 21:31:16 CEST 2012


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


>
> Erik
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig



More information about the Distutils-SIG mailing list