[Python-modules-team] Bug#808484: django-stronghold: FTBFS: AttributeError: 'module' object has no attribute 'tests'
Chris West (Faux)
solo-debianbugs at goeswhere.com
Sun Dec 20 13:58:06 UTC 2015
Source: django-stronghold
Version: 0.2.7+debian-1
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:
copying stronghold/tests/testutils.py -> /django-stronghold-0.2.7+debian/.pybuild/pythonX.Y_3.4/build/stronghold/tests
debian/rules override_dh_auto_test
make[1]: Entering directory '/django-stronghold-0.2.7+debian'
python2 test_project/manage.py test --pythonpath=. --settings=test_project.settings stronghold.tests
Traceback (most recent call last):
File "test_project/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 350, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 30, in run_from_argv
super(Command, self).run_from_argv(argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 74, in execute
super(Command, self).execute(*args, **options)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 399, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 90, in handle
failures = test_runner.run_tests(test_labels)
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 531, in run_tests
suite = self.build_suite(test_labels, extra_tests)
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 422, in build_suite
tests = self.test_loader.loadTestsFromName(label)
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'tests'
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/django-stronghold-0.2.7+debian'
debian/rules:7: recipe for target 'build' failed
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/django-stronghold.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