Source: plinth
Version: 0.15.3+ds-1
Severity: normal
User: la...@debian.org
Usertags: ftbfs-django-2.x
Dear Maintainer,
plinth fails to build from source when using Django 2.x from
experimental:
[…]
include_deployment_checks=include_deployment_checks,
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
351, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line
73, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 13,
in check_url_config
return check_resolver(resolver)
File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 23,
in check_resolver
return check_method()
File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 388,
in check
for pattern in self.url_patterns:
File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 36,
in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 527,
in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns",
self.urlconf_module)
File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 36,
in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 520,
in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "«BUILDDIR»/plinth/urls.py", line 20, in
from captcha import views as cviews
File "/usr/lib/python3/dist-packages/captcha/views.py", line 2, in
from captcha.helpers import captcha_image_url
File "/usr/lib/python3/dist-packages/captcha/helpers.py", line 4, in
from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1:
python3.6 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 3.6 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
plinth.0.15.3+ds-1.experimental.amd64.log.txt.gz
Description: Binary data