The bug tracker for setuptools 0.7 or higher is on BitBucket



Title I wish setuptools would prefer v1.4.1 in binary egg format over v1.4.5 in sdist format when I'm requiring >= v1.1.0
Priority wish Status chatting
Superseder Nosy List zooko
Assigned To Keywords

Created on 2009-07-27.21:13:16 by zooko, last changed 2010-11-20.07:18:26 by zooko.

msg566 (view) Author: zooko Date: 2010-11-20.07:18:26
Okay the patch has been worked over in the bundled fork of setuptools that Tahoe-LAFS uses ("zetuptoolz"), and applying the patch made the build go from red to green on many different platforms and did not introduce a regression from green to red on any builder. It has now gone into Tahoe-LAFS trunk and will be released in Tahoe-LAFS v1.8.1 soon.
msg565 (view) Author: zooko Date: 2010-11-17.09:34:20
Hooray! We have a patch and the deterministic test of this on the Tahoe-LAFS buildslave herd shows that it works:
msg564 (view) Author: zooko Date: 2010-11-16.07:13:37
We now have an automated test of this issue on the tahoe-lafs buildbot:
msg331 (view) Author: zooko Date: 2009-07-27.21:13:15
It is often the case that a binary .egg is usable and an sdist is not (when the
package requires compiling C or C++ code).  Here is an example where this is
currently happening:

Tahoe-LAFS requires zfec>=1.1.0.  There are two distributions found during build
a binary .egg of zfec v1.4.1 for the current platform and python version and an
sdist of zfec v1.4.5.  Setuptools is choosing the latter, which then fails to
build because the C/C++ compiler isn't set up on the target system.

If setuptools would prefer binaries over sdists when both satisfy the versioning
requirements, then this would be better.
Date User Action Args
2010-11-20 07:18:26zookosetmessages: + msg566
2010-11-17 09:34:20zookosetmessages: + msg565
2010-11-16 07:13:38zookosetstatus: unread -> chatting
messages: + msg564
2009-07-27 21:13:16zookocreate