[Bug 1401783] [NEW] Requirement "argparse" breaks package import

orbisvicis orbisvicis at gmail.com
Fri Dec 12 07:19:54 UTC 2014


Public bug reported:

$ python3
Python 3.4.2 (default, Oct  8 2014, 13:18:07) 
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> __requires__ = "stevedore >= 1.0"                                                                                                                                                          
>>> from pkg_resources import load_entry_point
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2876, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 449, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 745, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 639, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
>>> 

The argparse module has been part of python for years. Remove "argparse"
from stevedore's "requirements.txt" toplevel file. See
https://aur.archlinux.org/packages/subliminal-git/ for more information.

** Affects: stevedore (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to stevedore in Ubuntu.
https://bugs.launchpad.net/bugs/1401783

Title:
  Requirement "argparse" breaks package import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stevedore/+bug/1401783/+subscriptions



More information about the Ubuntu-server-bugs mailing list