Bug#631215: python-zope.interface: setuptools in egg/requires.txt causes problems

Julian Taylor jtaylor.debian at googlemail.com
Tue Jun 21 15:36:15 UTC 2011


Package: python-zope.interface
Version: 3.6.1-0ubuntu4
Severity: normal

the egg of zope.interface states that it needs setuptools.
this gets transformed by /usr/share/python/dist_fallback to python-pkg-
resources

This now leads to pkg_resources.require("zope.interface") to fail:

python -c 'import pkg_resources; print pkg_resources.require("zope.interface")'
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 654, in
require
     needed = self.resolve(parse_requirements(requirements))
   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 552, in
resolve
     raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: distribute


setuptools does not seem to be used by zope so it should be removed from
requires.txt to solve this problem.
This would probably require a debian/control dependency on python-pkg-
resources{,3} which is directly used but has no egg



-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty-proposed'), (500, 'natty'), (100, 'natty-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-10-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-zope.interface depends on:
ii  libc6                    2.13-0ubuntu13  Embedded GNU C Library: Shared lib
ii  python                   2.7.1-0ubuntu5  interactive high-level object-orie
ii  python-central           0.6.15ubuntu5   register and build utility for Pyt
ii  python-pkg-resources     0.6.15-1ubuntu1 Package Discovery and Resource Acc

python-zope.interface recommends no packages.

Versions of packages python-zope.interface suggests:
pn  python-z3c.recipe.sphinxdoc   <none>     (no description available)

-- no debconf information





More information about the pkg-zope-developers mailing list