[Distutils] [easy_install] won't upgrade egg from 1.0.9 -> 1.0.10

Phillip J. Eby pje at telecommunity.com
Tue Jul 17 17:46:24 CEST 2007

At 12:15 PM 7/17/2007 +0200, Andreas Jung wrote:
>I uploaded z3c.sqlalchemy 1.0.10 to Cheeseshop.
>easy_install -U z3c.sqlalchemy won't upgrade an installed 1.0.9 egg
>to the new version unless I pass the current version as 
>Bug or feature?

Sounds like a bug, except that 1.0.10 > 1.0.9:

 >>> from pkg_resources import parse_version as pv
 >>> pv('1.0.9')<pv('1.0.10')
 >>> pv('1.0.10')>pv('1.0.9')

So it's not in the version testing, or shouldn't be.

Try using the -v option to easy_install and see what URLs it's 
picking up.  Also, is the problem reproducible?  i.e., if you get rid 
of the new version and put back the old, do you still have the same problem?

More information about the Distutils-SIG mailing list