[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
Wed Oct 27 13:30:53 UTC 2021


1.10.15 (2021-10-27)
====================
- Move dependencies of launchpadlib.testing to a new ``testing`` extra.
  [bug=1019700]
- Stop excluding MANIFEST.in from the sdist.
- Declare support for Python 3.9 and 3.10.
- Move code hosting to git (https://code.launchpad.net/launchpadlib).

** Changed in: launchpadlib
    Milestone: None => 1.10.15

** Changed in: launchpadlib
       Status: Fix Committed => 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:
  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