Opened at 2011-03-30T17:57:54Z
Last modified at 2011-07-17T20:16:26Z
#1383 closed defect
foolscap 0.6.1 has no such extra feature 'secure_connections' — at Version 1
| Reported by: | zooko | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | 1.9.0 |
| Component: | packaging | Version: | 1.8.2 |
| Keywords: | setuptools foolscap pyOpenSSL | Cc: | charles@… |
| Launchpad Bug: |
Description (last modified by davidsarah)
Charles N Wyble posted this:
http://tahoe-lafs.org/pipermail/tahoe-dev/2011-March/006239.html
harles at charles-laptop:~/projects/bluejacket/allmydata-tahoe-1.8.2$
python setup.py build
Traceback (most recent call last):
File "setup.py", line 78, in <module>
import setuptools; setuptools.bootstrap_install_from = egg
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/setuptools/__init__.py",
line 2, in <module>
from setuptools.extension import Extension, Library
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/setuptools/extension.py",
line 2, in <module>
from dist import _get_unpatched
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/setuptools/dist.py",
line 6, in <module>
from setuptools.command.sdist import sdist
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/setuptools/command/sdist.py",
line 5, in <module>
import os, re, sys, pkg_resources
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 2628, in <module>
working_set.require(__requires__)
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 676, in require
needed = self.resolve(parse_requirements(requirements))
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 580, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File
"/home/charles/projects/bluejacket/allmydata-tahoe-1.8.2/setuptools-0.6c16dev3.egg/pkg_resources.py",
line 2181, in requires
"%s has no such extra feature %r" % (self, ext)
pkg_resources.UnknownExtra: foolscap 0.6.1 has no such extra feature
'secure_connections'
charles at charles-laptop:~/projects/bluejacket/allmydata-tahoe-1.8.2$
I guess you have an installation of foolscap which doesn't declare that it has an extra feature named 'secure_connections'. Tahoe-LAFS specifies that it depends on foolscap with the 'secure_connections' feature.
Change History (1)
comment:1 Changed at 2011-03-30T20:54:21Z by davidsarah
- Description modified (diff)
- Priority changed from minor to major
Note: See
TracTickets for help on using
tickets.

(Removed commentary about possible fixes from Description; the Description should only describe the bug.)
zooko wrote:
Charles replied on tahoe-dev that he believed the installation was by apt-get, on fully-patched Ubuntu 11.04 alpha3.
Well, if the installed package doesn't satisfy the dependency (for whatever reason), then setuptools should try to download a version that does. Even if the latter has the same version number, it might not have the same packaging error.
OTOH I'm pretty hacked off with the quantity and subtlety of setuptools bugs and misdesign; we've reached a point of diminishing returns in attempting to fix it.