Requirement "argparse" breaks package import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
High
|
Unassigned | ||
stevedore |
Fix Released
|
Undecided
|
Unassigned | ||
stevedore (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
$ 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/
working_set = WorkingSet.
File "/usr/lib/
ws.
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
>>>
The argparse module has been part of python for years. Remove "argparse" from stevedore's "requirements.txt" toplevel file. See https:/
Changed in stevedore (Ubuntu): | |
importance: | Undecided → High |
Changed in hundredpapercuts: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in hundredpapercuts: | |
status: | Confirmed → Fix Released |
Thanks for taking your time to report this issue and help making Ubuntu better.
I was able to reproduce this issue with python3-stevedore 1.1.0-0ubuntu1 on Ubuntu Vivid following the steps outlined above.
While researching, I found that upstream has had a similar bug report quite recently and it seems like they are still building for python 2.6 (see bug 1372433 for details). However, I don't believe Ubuntu is still shipping 2.6, so it might be possible to patch the package. I've marked this issue as affecting upstream as well, to hear what they have to say.