[Python-modules-team] Bug#808531: python-restless: FTBFS: ImportError: No module named 'django'

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Dec 20 15:25:16 UTC 2015


Source: python-restless
Version: 2.0.1-4
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

test_serialize (tests.test_serializers.JSONSerializerTestCase) ... ok
tests.test_tnd (unittest.loader._FailedTest) ... ERROR
test_format_traceback (tests.test_utils.FormatTracebackTestCase) ... ok

======================================================================
ERROR: tests.test_dj (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_dj
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/python-restless-2.0.1/.pybuild/pythonX.Y_3.5/build/tests/test_dj.py", line 3, in <module>
    from django.http import Http404
ImportError: No module named 'django'


======================================================================
ERROR: tests.test_fl (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_fl
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/python-restless-2.0.1/.pybuild/pythonX.Y_3.5/build/tests/test_fl.py", line 4, in <module>
    import flask
ImportError: No module named 'flask'


======================================================================
ERROR: tests.test_pyr (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_pyr
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/python-restless-2.0.1/.pybuild/pythonX.Y_3.5/build/tests/test_pyr.py", line 3, in <module>
    from pyramid import testing
ImportError: No module named 'pyramid'


======================================================================
ERROR: tests.test_tnd (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_tnd
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/python-restless-2.0.1/.pybuild/pythonX.Y_3.5/build/tests/test_tnd.py", line 5, in <module>
    from restless.tnd import TornadoResource, _BridgeMixin
  File "/python-restless-2.0.1/.pybuild/pythonX.Y_3.5/build/restless/tnd.py", line 1, in <module>
    from tornado import web, gen
ImportError: No module named 'tornado'


----------------------------------------------------------------------
Ran 52 tests in 0.006s

FAILED (errors=4, skipped=5)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /python-restless-2.0.1/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
dh_auto_test: pybuild --test -i python{version} -p 3.5 3.4 --dir . returned exit code 13
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-restless.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Python-modules-team mailing list