[tahoe-lafs-trac-stream] [Tahoe-LAFS] #717: unnecessary rebuild of dependencies when tahoe-deps/ is present
Tahoe-LAFS
trac at tahoe-lafs.org
Sat Mar 26 21:22:37 UTC 2016
#717: unnecessary rebuild of dependencies when tahoe-deps/ is present
---------------------------+--------------------------------
Reporter: warner | Owner: cgalvan
Type: defect | Status: closed
Priority: major | Milestone: 1.11.0
Component: packaging | Version: 1.4.1
Resolution: fixed | Keywords: setuptools install
Launchpad Bug: |
---------------------------+--------------------------------
Changes (by warner):
* status: new => closed
* resolution: => fixed
* milestone: undecided => 1.11.0
Old description:
> Using a trunk [changeset:9a02f4a1043d6288] tree, on my debian/sid box,
> performing "python setup.py build" with the tahoe-deps tarball unpacked
> in the parent directory causes several dependency libraries to be built
> and installed in support/lib/python2.5/site-packages even though those
> libraries are already present, usable, and visible to
> {{{pkg_resources.requires}}} in the standard PYTHONPATH
> /usr/lib/python2.5/site-packages directory.
>
> The libraries that are unnecessarily rebuilt are:
>
> * foolscap-0.4.1
> * twisted-8.2.0
> * simplejson-2.0.9
>
> Removing ../tahoe-deps, erasing support/lib, and re-running "python
> setup.py build" correctly skips the build of these libraries, resulting
> in a support/lib that only contains setuptools-0.6c12dev and the
> allmydata-tahoe.egg-link file (well, and the usual setuptools noise:
> setup.py, setuptools.pth, and easy-install.pth).
>
> Something in setuptools is buggy: having ../tahoe-deps available should
> not influence the decision to install a library or not.
>
> This needs to be added to the setuptools bugtracker at
> http://bugs.python.org/setuptools/ .
New description:
Using a trunk [changeset:9a02f4a1043d6288] tree, on my debian/sid box,
performing "python setup.py build" with the tahoe-deps tarball unpacked in
the parent directory causes several dependency libraries to be built and
installed in support/lib/python2.5/site-packages even though those
libraries are already present, usable, and visible to
{{{pkg_resources.requires}}} in the standard PYTHONPATH /usr/lib/python2.5
/site-packages directory.
The libraries that are unnecessarily rebuilt are:
* foolscap-0.4.1
* twisted-8.2.0
* simplejson-2.0.9
Removing ../tahoe-deps, erasing support/lib, and re-running "python
setup.py build" correctly skips the build of these libraries, resulting in
a support/lib that only contains setuptools-0.6c12dev and the allmydata-
tahoe.egg-link file (well, and the usual setuptools noise: setup.py,
setuptools.pth, and easy-install.pth).
Something in setuptools is buggy: having ../tahoe-deps available should
not influence the decision to install a library or not.
This needs to be added to the setuptools bugtracker at
http://bugs.python.org/setuptools/ .
--
Comment:
We no longer provide or support the `tahoe-deps` tarball/directory, and
the pip http+wheel cache works correctly to avoid rebuilds. Closing this
out.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/717#comment:13>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list