[Bug 1891481] Re: python-magnumclient ftbfs in focal

Corey Bryant 1891481 at bugs.launchpad.net
Mon Aug 2 19:32:16 UTC 2021


** Also affects: python-magnumclient (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: python-magnumclient (Ubuntu Focal)
       Status: New => Triaged

** Changed in: python-magnumclient (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: python-magnumclient (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: python-magnumclient (Ubuntu)
   Importance: High => Undecided

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-magnumclient in Ubuntu.
https://bugs.launchpad.net/bugs/1891481

Title:
  python-magnumclient ftbfs in focal

Status in python-magnumclient package in Ubuntu:
  Fix Released
Status in python-magnumclient source package in Focal:
  Triaged

Bug description:
  seen in a focal test rebuild:
  https://launchpad.net/ubuntu/+archive/test-rebuild-20200810-focal/+build/19799777

  ==============================
  Failed 7 tests - output below:
  ==============================

  magnumclient.tests.test_shell.ShellTest.test_insecure
  -----------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):

        File "/usr/lib/python3/dist-packages/pbr/version.py", line 442, in _get_version_from_pkg_resources
      provider = pkg_resources.get_provider(requirement)

        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 358, in get_provider
      return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]

        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 901, in require
      needed = self.resolve(parse_requirements(requirements))

        File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 787, in resolve
      raise DistributionNotFound(req, requirers)

      pkg_resources.DistributionNotFound: The 'python-magnumclient'
  distribution was not found and is required by the application

      
  During handling of the above exception, another exception occurred:

  
      Traceback (most recent call last):

        File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in patched
      return func(*args, **keywargs)

        File "/<<PKGBUILDDIR>>/magnumclient/tests/test_shell.py", line 229, in test_insecure
      self.shell('--insecure bay-list')

        File "/<<PKGBUILDDIR>>/magnumclient/tests/utils.py", line 162, in shell
      _shell.main(argstr.split())

        File "/<<PKGBUILDDIR>>/magnumclient/shell.py", line 463, in main
      parser = self.get_base_parser()

        File "/<<PKGBUILDDIR>>/magnumclient/shell.py", line 123, in get_base_parser
      version=version.version_info.version_string())

        File "/usr/lib/python3/dist-packages/pbr/version.py", line 467, in version_string
      return self.semantic_version().brief_string()

        File "/usr/lib/python3/dist-packages/pbr/version.py", line 462, in semantic_version
      self._semantic = self._get_version_from_pkg_resources()

        File "/usr/lib/python3/dist-packages/pbr/version.py", line 449, in _get_version_from_pkg_resources
      result_string = packaging.get_version(self.package)

        File "/usr/lib/python3/dist-packages/pbr/packaging.py", line 870, in get_version
      raise Exception("Versioning for this project requires either an sdist"

      Exception: Versioning for this project requires either an sdist
  tarball, or access to an upstream git repository. It's also possible
  that there is a mismatch between the package name in setup.cfg and the
  argument given to pbr.version.VersionInfo. Project name python-
  magnumclient was given, but was not able to be found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-magnumclient/+bug/1891481/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list