#2744 closed defect (fixed)

tahoe-lafs should depend on more recent setuptools

Reported by: daira Owned by: warner
Priority: normal Milestone: 1.11.0
Component: packaging Version: 1.10.2
Keywords: packaging regression setuptools blocks-release Cc:
Launchpad Bug:

Description

# virtualenv tahoe
# source tahoe/bin/activate
# pip install .
[...]
# tahoe --version-and-path
[...]
pkg_resources.VersionConflict: (setuptools 0.9.8 (/home/davidsarah/tahoe/git/trunk/tahoe/lib/python2.7/site-packages), Requirement.parse('setuptools>=1.0'))

Change History (7)

comment:1 Changed at 2016-03-18T05:24:12Z by Brian Warner <warner@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 141ff17/trunk:

auto_deps: bump to setuptools>=20.3

20.3 is the current version as of today. I'm not really sure what
version we need, but this is better than the previous zetuptoolz "0.6c6"
requirement. Closes ticket:2744.

comment:2 Changed at 2016-03-18T17:29:56Z by daira

  • Resolution fixed deleted
  • Status changed from closed to reopened

I think this should depend on a lower version of setuptools that is available as a Debian package.

comment:3 Changed at 2016-03-18T17:42:31Z by daira

jessie-backports and stretch have 18.8. Trusty has 3.3, and Vivid has 12.2. cryptography requires >= 11.3. Therefore I think we should require 11.3, so that we can ignore bugs in earlier versions.

(>= 1.0 is sufficient to solve the original problem. I should have included more of the error message so that we would be able to see exactly what depended on 1.0.)

Last edited at 2016-03-18T19:07:12Z by daira (previous) (diff)

comment:4 Changed at 2016-03-18T17:59:17Z by daira

  • Owner changed from daira to warner
  • Status changed from reopened to new

comment:5 Changed at 2016-03-18T18:31:27Z by Brian Warner <warner@…>

  • Resolution set to fixed
  • Status changed from new to closed

In b8ad8878/trunk:

Reduce setuptools dep to >=11.3

We don't necessarily need this ourselves (init.py's version-checking
code is the only thing in tahoe per se that uses setuptools, and our
setup.py's use of setuptools isn't something that install_requires= can
say anything about). But at least one old environment failed because a
sub-dependency needed a newer version than Tahoe asked for. I'm not sure
if this ought to be here, but it may help for a transitional period
until these ancient environments get updated.

closes ticket:2744

comment:6 Changed at 2016-03-18T19:08:33Z by daira

LGTM.

comment:7 Changed at 2016-03-22T05:03:36Z by warner

  • Milestone changed from 1.10.3 to 1.11.0

Milestone renamed

Note: See TracTickets for help on using tickets.