setuptools dependency_links in dependent packages

I just tried installing one of the many, cool, interrelated zc.* packages, zc.authorizedotnet. That package depends on zc.ssl. zc.ssl has the following in setup.py: dependency_links = ['http://download.zope.org/distribution/'], Running easy_install zc.authorizedotnet fails because it doesn't have that entry, and the installation of zc.ssl does not pick it up. Installing zc.ssl *and then* zc.authorizedotnet works fine. I'd call that a bug, because zc.authorizedotnet should not need to know that one of its required packages has a special home for its code. Kevin

On Nov 26, 2007, at 11:40 AM, Kevin Dangoor wrote:
That package depends on zc.ssl. zc.ssl has the following in setup.py:
dependency_links = ['http://download.zope.org/distribution/'], ... I'd call that a bug, because zc.authorizedotnet should not need to know that one of its required packages has a special home for its code.
Are you suggesting that any use of dependency_links is a bug? I'd be quite sympathetic. -Fred -- Fred Drake <fdrake at acm.org>

At 11:40 AM 11/26/2007 -0500, Kevin Dangoor wrote:
I just tried installing one of the many, cool, interrelated zc.* packages, zc.authorizedotnet.
That package depends on zc.ssl. zc.ssl has the following in setup.py:
dependency_links = ['<http://download.zope.org/distribution/>http://download.zope.org/distribution/'],
Running easy_install zc.authorizedotnet fails because it doesn't have that entry, and the installation of zc.ssl does not pick it up. Installing zc.ssl *and then* zc.authorizedotnet works fine.
I'd call that a bug, because zc.authorizedotnet should not need to know that one of its required packages has a special home for its code.
I must confess I don't even understand what you're saying is happening. Could you explain at least what you mean by "fails" and "does not pick it up"? The console output from the commands (and the steps to reproduce it) would also be helpful.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Phillip J. Eby wrote:
At 11:40 AM 11/26/2007 -0500, Kevin Dangoor wrote:
I just tried installing one of the many, cool, interrelated zc.* packages, zc.authorizedotnet.
That package depends on zc.ssl. zc.ssl has the following in setup.py:
dependency_links = ['<http://download.zope.org/distribution/>http://download.zope.org/distribution/'],
Running easy_install zc.authorizedotnet fails because it doesn't have that entry, and the installation of zc.ssl does not pick it up. Installing zc.ssl *and then* zc.authorizedotnet works fine.
I'd call that a bug, because zc.authorizedotnet should not need to know that one of its required packages has a special home for its code.
I must confess I don't even understand what you're saying is happening. Could you explain at least what you mean by "fails" and "does not pick it up"? The console output from the commands (and the steps to reproduce it) would also be helpful.
I read the report as saying that 'dependency_links' mentioned by distributions satisfying user-specified requirements were consulted, but that those mentioned by dependencies of those distributions were ignored. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHTJ+A+gerLs4ltQ4RAl0EAKCIKGz6XmI9A4Bif8CKM9+ySu8MRQCfYdmI 9Xu/HSIuf1E8vqVFhiaOTuE= =NPDd -----END PGP SIGNATURE-----
participants (4)
-
Fred Drake
-
Kevin Dangoor
-
Phillip J. Eby
-
Tres Seaver