Opened at 2011-07-28T01:30:36Z
Last modified at 2016-03-26T22:41:59Z
#1450 closed defect
setuptools downloads and builds a correct version of a dependency in the install-to-egg step, but then adds a different version not satisfying the requirement to easy_install.pth — at Version 1
Reported by: | davidsarah | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | 1.11.0 |
Component: | packaging | Version: | 1.8.2 |
Keywords: | setuptools build | Cc: | |
Launchpad Bug: |
Description (last modified by davidsarah)
In the attached install-to-egg build on the 'Eugen lenny' buildslave, the requirement for Twisted is >= 10.1.0.
setuptools downloads and builds Twisted 10.2:
Searching for Twisted>=10.1.0 Best match: Twisted 10.2.0 Downloading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/Twisted-10.2.0.tar.bz2 Processing Twisted-10.2.0.tar.bz2 Running Twisted-10.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QTimkw/Twisted-10.2.0/egg-dist-tmp-yBXrHn [...]
but then it adds Twisted 8.1 to easy-install.pth, resulting in a failed Tahoe build:
Adding Twisted 8.1.0 to easy-install.pth file [...] Installed /home/tahoebuildslave/tahoebuildslave/Eugen lenny-amd64/build/egginstalldir/Twisted-8.1.0-py2.5-linux-x86_64.egg error: Could not find required distribution Twisted>=10.1.0
Since we're installing to an egg rather than globally, there's no good reason why that shouldn't work even if Twisted 8.1 is installed single-version-externally-managed. But if that's not supported for some reason, it's still incorrect to build 10.2 and then fail with a misleading error message.
Change History (2)
Changed at 2011-07-28T01:32:27Z by davidsarah
comment:1 Changed at 2011-07-28T01:37:00Z by davidsarah
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
Copy of http://tahoe-lafs.org/buildbot/builders/Eugen%20lenny-amd64/builds/850/steps/install-to-egg/logs/stdio/text