[PKG-Openstack-devel] Bug#877876: python-zaqarclient: FTBFS: ModuleNotFoundError: No module named 'requests_mock'

Andreas Beckmann anbe at debian.org
Fri Oct 6 15:25:53 UTC 2017


Source: python-zaqarclient
Version: 1.7.0-1
Severity: serious
Justification: fails to build from source

Hi,

python-zaqarclient FTBFS in an up-to-date sid+experimental environment:

[...]
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'requests_mock')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.6/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.6/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/build/python-zaqarclient-1.7.0/tests/unit/cli/v1/test_queues.py", line 16, in <module>
    from tests.unit.cli import fakes
  File "/build/python-zaqarclient-1.7.0/tests/unit/cli/fakes.py", line 18, in <module>
    from osc_lib.tests import utils
  File "/usr/lib/python3/dist-packages/osc_lib/tests/utils.py", line 27, in <module>
    from requests_mock.contrib import fixture
ModuleNotFoundError: No module named 'requests_mock'

----------------------------------------------------------------------
Ran 190 tests in 0.201s

FAILED (errors=1)
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/python-zaqarclient-1.7.0'


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-zaqarclient_1.7.0-1.log.gz
Type: application/gzip
Size: 18290 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20171006/0101cb84/attachment-0001.bin>


More information about the Openstack-devel mailing list