Declares that it depends on testresources at the python level, but the package doesn't depend on it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Fix Released
|
Low
|
Colin Watson | ||
python-launchpadlib (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
launchpadlib has testresources listed in its requires.txt, though it is only a test dependency.
The package in Ubuntu doesn't depend on python-
If you try and use pkg_resources in any project that depends on launchpadlib you
get errors if python-
The packaging could add the dependency, but it's only needed to run launchpadlib's
test suite.
launchpadlib could move testresources to be a test dependency (either test_requires
or whatever the spelling it, or an extra_requires for [test] or however that is done.)
In the meantime the workaround is to install python-
to use pkg_resources in a project that depends on launchpadlib.
Thanks,
James
Related branches
- Ioana Lasc (community): Approve
-
Diff: 56 lines (+12/-4)3 files modifiedNEWS.rst (+5/-0)
setup.py (+6/-3)
tox.ini (+1/-1)
Changed in launchpadlib: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: launchpadlib |
Changed in python-launchpadlib (Ubuntu Precise): | |
importance: | Undecided → Low |
Changed in python-launchpadlib (Ubuntu): | |
importance: | Undecided → Low |
no longer affects: | python-launchpadlib (Ubuntu Precise) |
Changed in launchpadlib: | |
status: | Triaged → Fix Committed |
assignee: | nobody → Colin Watson (cjwatson) |
python- testresources is only listed as "Suggests"