[Bug 1019700] Re: Declares that it depends on testresources at the python level, but the package doesn't depend on it
Colin Watson
1019700 at bugs.launchpad.net
Thu Oct 27 09:33:49 UTC 2022
The fix is packaged in Ubuntu >= jammy now too.
** Changed in: python-launchpadlib (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-launchpadlib in Ubuntu.
https://bugs.launchpad.net/bugs/1019700
Title:
Declares that it depends on testresources at the python level, but the
package doesn't depend on it
Status in launchpadlib :
Fix Released
Status in python-launchpadlib package in Ubuntu:
Fix Released
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-testresources.
If you try and use pkg_resources in any project that depends on launchpadlib you
get errors if python-testresources isn't installed.
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-testresources if you need
to use pkg_resources in a project that depends on launchpadlib.
Thanks,
James
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpadlib/+bug/1019700/+subscriptions
More information about the foundations-bugs
mailing list