[PKG-Openstack-devel] Bug#880179: python-saharaclient: FTBFS: ImportError: No module named pep8

Andreas Beckmann anbe at debian.org
Mon Oct 30 12:51:42 UTC 2017


Source: python-saharaclient
Version: 1.3.0-2
Severity: serious
Justification: fails to build from source

Hi,

python-saharaclient/experimental FTBFS in a clean minimal
sid+experimental environment:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/python-saharaclient-1.3.0'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
pkgos-dh_auto_test 'saharaclient\.tests\.unit.*'
+ pyversions -vr
+ PYTHONS=2.7
+ py3versions -vr
+ PYTHON3S=3.6
+ echo 2.7
+ cut -d. -f1
+ PYMAJOR=2
+ echo ===> Testing with python (python2)
===> Testing with python (python2)
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.MF8YRjq5z3
+ + subunit2pyunit
+ pwd
tee /tmp/tmp.MF8YRjq5z3
+ PYTHONPATH=/build/python-saharaclient-1.3.0 PYTHON=python2.7 testr-python2 run --subunit saharaclient\.tests\.unit.*
Non-zero exit code (2) from test listing.
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover $DISCOVER_DIRECTORY --list 
--- import errors ---
Failed to import test module: saharaclient.tests.unit.test_hacking
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "saharaclient/tests/unit/test_hacking.py", line 17, in <module>
    from saharaclient.tests.hacking import checks
  File "saharaclient/tests/hacking/checks.py", line 19, in <module>
    import pep8
ImportError: No module named pep8

----------------------------------------------------------------------
Ran 0 tests in 0.697s

OK
+ cat /tmp/tmp.MF8YRjq5z3
+ subunit-filter -s --no-passthrough
+ subunit-stats
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags: 
+ rm -f /tmp/tmp.MF8YRjq5z3
+ testr-python2 slowest
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 3


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-saharaclient_1.3.0-2.log.gz
Type: application/gzip
Size: 23143 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20171030/080a11e9/attachment-0001.bin>


More information about the Openstack-devel mailing list