[Impact] networkx has setuptools in its requries.txt but not in its dependencies.
This causes pkg_resources.require tests to fail if python-setuptools is not installed
e.g. epigrass uses this and thus fails to start when python-setuptools is not installed.
See debian bug 639995
[Development Fix] fixed by removint setuptools from requires.txt
[Stable Fix] do the same
[Test Case]
have *no* python-setuptools installed
python -c "import pkg_resources as p; p.require('networkx')"
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
[Regression Potential]
low the setuptools dependency is unecessary, it is handled by python-pkg-resources (in recommends in networkx and depends on all users of this feature)
[Impact] networkx has setuptools in its requries.txt but not in its dependencies. require tests to fail if python-setuptools is not installed
This causes pkg_resources.
e.g. epigrass uses this and thus fails to start when python-setuptools is not installed.
See debian bug 639995
[Development Fix] fixed by removint setuptools from requires.txt
[Stable Fix] do the same
[Test Case] 'networkx' )" python2. 7/dist- packages/ pkg_resources. py", line 654, in require parse_requireme nts(requirement s)) python2. 7/dist- packages/ pkg_resources. py", line 552, in resolve Found(req) DistributionNot Found: distribute
have *no* python-setuptools installed
python -c "import pkg_resources as p; p.require(
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
[Regression Potential] pkg-resources (in recommends in networkx and depends on all users of this feature)
low the setuptools dependency is unecessary, it is handled by python-
ProblemType: Bug ature: Ubuntu 3.0.0-16.28-generic 3.0.17 dules: fglrx 0d4cb65d85a85c1 fb 2bf437989cb5970 02 ture: all
DistroRelease: Ubuntu 11.10
Package: python-networkx 1.5-2
ProcVersionSign
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: e4c99b57321b0cd
CheckboxSystem: edda5d4f616ca79
Date: Thu Feb 2 22:33:07 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110805)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-networkx
UpgradeStatus: No upgrade log present (probably fresh install)