[Python-modules-team] Bug#865941: python-django-contact-form FTBS with Django 1.11
Adrian Bunk
bunk at debian.org
Mon Jun 26 00:00:51 UTC 2017
Source: python-django-contact-form
Version: 1.3-1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django-contact-form.html
...
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py test
running test
running egg_info
creating django_contact_form.egg-info
writing django_contact_form.egg-info/PKG-INFO
writing top-level names to django_contact_form.egg-info/top_level.txt
writing dependency_links to django_contact_form.egg-info/dependency_links.txt
writing manifest file 'django_contact_form.egg-info/SOURCES.txt'
reading manifest file 'django_contact_form.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'django_contact_form.egg-info/SOURCES.txt'
running build_ext
Creating test database for alias 'default'...
Traceback (most recent call last):
File "setup.py", line 33, in <module>
'Topic :: Utilities'],
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 211, in run
self.run_tests()
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 234, in run_tests
**exit_kwarg
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python2.7/unittest/loader.py", line 115, in loadTestsFromName
test = obj()
File "/build/1st/python-django-contact-form-1.3/contact_form/runtests.py", line 79, in run_tests
failures = test_runner.run_tests(['contact_form.tests'])
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 602, in run_tests
self.run_checks()
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 562, in run_checks
call_command('check', verbosity=self.verbosity)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 130, in call_command
return command.execute(*args, **defaults)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.7/dist-packages/django/core/management/commands/check.py", line 68, in handle
fail_level=getattr(checks, options['fail_level']),
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/lib/python2.7/dist-packages/django/core/checks/registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/lib/python2.7/dist-packages/django/core/checks/urls.py", line 16, in check_url_config
return check_resolver(resolver)
File "/usr/lib/python2.7/dist-packages/django/core/checks/urls.py", line 26, in check_resolver
return check_method()
File "/usr/lib/python2.7/dist-packages/django/urls/resolvers.py", line 254, in check
for pattern in self.url_patterns:
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python2.7/dist-packages/django/urls/resolvers.py", line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python2.7/dist-packages/django/urls/resolvers.py", line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named urls
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: python2.7 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25
More information about the Python-modules-team
mailing list