[Bug 1019700] Re: Declares that it depends on testresources at the python level, but the package doesn't depend on it

Stefano Rivera 1019700 at bugs.launchpad.net
Thu Sep 30 21:23:34 UTC 2021


** No longer affects: python-launchpadlib (Ubuntu Precise)

-- 
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 :
  Triaged
Status in python-launchpadlib package in Ubuntu:
  Confirmed

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