[tahoe-lafs-trac-stream] [tahoe-lafs] #1450: 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
tahoe-lafs
trac at tahoe-lafs.org
Wed Jul 27 18:30:36 PDT 2011
#1450: 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
------------------------------+---------------------------
Reporter: davidsarah | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: undecided
Component: packaging | Version: 1.8.2
Keywords: setuptools build | Launchpad Bug:
------------------------------+---------------------------
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
}}}
(If Twisted 8.1 were installed single-version-externally-managed, it would
be correct to fail the build, but the attempt to build 10.2 would be wrong
and the error message misleading.)
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1450>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list