Public bug reported:

[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)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-networkx 1.5-2
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: e4c99b57321b0cd0d4cb65d85a85c1fb
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Thu Feb  2 22:33:07 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110805)
PackageArchitecture: all
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)

** Affects: python-networkx (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: python-networkx (Ubuntu Oneiric)
     Importance: Undecided
         Status: New

** Affects: python-networkx (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/925744

Title:
  unnecessary dependency on setuptools

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-networkx/+bug/925744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to