[Distutils] easy_install installing beta version of psycopg2
Tres Seaver
tseaver at palladion.com
Wed Feb 16 17:37:07 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/16/2011 05:35 AM, Daniele Varrazzo wrote:
> Hello,
>
> trying to install psycopg2 via easy_install (distribute 0.6.14), the
> user received the version 2.4 beta2 instead of the latest stable
> 2.3.1.
>
> 2.4 beta2 has never been uploaded on PyPI and is not even listed in
> the http://pypi.python.org/simple/psycopg2/
>
> I think this is a serious issue. Any solution? Thanks.
easy_install is finding the link to 2.4 beta2 on the homepage
(http://initd.org/psycopg/) listed for the 2.3.2 release. This is
documented behavior, FWIW:
http://peak.telecommunity.com/DevCenter/EasyInstall#id6
You could work around that issue using '--allow-hosts' to restrict
downloads to those actually on PyPI:
http://peak.telecommunity.com/DevCenter/EasyInstall#id13
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1b/TMACgkQ+gerLs4ltQ6LWACfVlH84UIFfQl4durQZdpvEVBl
JPcAn0m2GjSIzg4gbi47jxJix+dihuxn
=mvL8
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list