[Distutils] easy_install installing old version

Patrick Lewis plewis at spamcop.net
Tue Jun 24 12:54:05 CEST 2008


On Jun 23, 2008, at 11:24 PM, Tres Seaver wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Patrick Lewis wrote:
>> registration 0.11 is already the active version in easy-install.pth
>>
>> I'm not quite sure what's going on here, since
>>
>> http://pypi.python.org/simple/registration/
>>
>> clearly shows newer versions. If someone could point out what I've
>> done wrong, I'd much appreciate it.
>
> 0.11 is the latest version I see there:  the others (0.2, 0.3, 0.4)  
> are
> all earlier.  It helps to think of version numbers as the result of
> calling '.'.join(version_parts);  they are *not* decimal numbers.  So,
> the tuple in question would be (0, 11), which is clearly greater than
> (0, 4).
>
>
> Tres.
> - --

Ok, that makes sense. And it works for 2.5 because there is no (0,  
11) for 2.5, only a 2.4 egg.  Argh. Thanks.




More information about the Distutils-SIG mailing list