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.
seen in a focal test rebuild: /launchpad. net/ubuntu/ +archive/ test-rebuild- 20200810- focal/+ build/19799777
https:/
======= ======= ======= ======= == ======= ======= ======= ==
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 get_provider( requirement)
provider = pkg_resources.
File "/usr/lib/ python3/ dist-packages/ pkg_resources/ __init_ _.py", line 358, in get_provider set.find( moduleOrReq) or require( str(moduleOrReq ))[0]
return working_
File "/usr/lib/ python3/ dist-packages/ pkg_resources/ __init_ _.py", line 901, in require parse_requireme nts(requirement s))
needed = self.resolve(
File "/usr/lib/ python3/ dist-packages/ pkg_resources/ __init_ _.py", line 787, in resolve Found(req, requirers)
raise DistributionNot
pkg_ resources. DistributionNot Found: 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 shell(' --insecure bay-list')
self.
File "/<<PKGBUILDDIR >>/magnumclient /tests/ utils.py" , line 162, in shell main(argstr. split() )
_shell.
File "/<<PKGBUILDDIR >>/magnumclient /shell. py", line 463, in main base_parser( )
parser = self.get_
File "/<<PKGBUILDDIR >>/magnumclient /shell. py", line 123, in get_base_parser version. version_ info.version_ string( ))
version=
File "/usr/lib/ python3/ dist-packages/ pbr/version. py", line 467, in version_string version( ).brief_ string( )
return self.semantic_
File "/usr/lib/ python3/ dist-packages/ pbr/version. py", line 462, in semantic_version version_ from_pkg_ resources( )
self._semantic = self._get_
File "/usr/lib/ python3/ dist-packages/ pbr/version. py", line 449, in _get_version_ from_pkg_ resources get_version( self.package)
result_string = packaging.
File "/usr/lib/ python3/ dist-packages/ pbr/packaging. py", line 870, in get_version "Versioning for this project requires either an sdist"
raise Exception(
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.