** Description changed:

  [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
+ additionally in natty a numpy dependency is missing.
  
  [Development Fix] fixed by removint setuptools from requires.txt
  
  [Stable Fix] do the same
  
  [Test Case] 
  have *no* python-setuptools installed
  apt-get install python-pkg-resources
  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
  
  expected: successful require call
  
  [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)

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