[Python-modules-team] Bug#961166: python-django-extensions: FTBFS with Django 3.x
Chris Lamb
lamby at debian.org
Wed May 20 21:52:38 BST 2020
Source: python-django-extensions
Version: 2.2.1-1
Severity: normal
User: python-modules-team at lists.alioth.debian.org
Usertags: django-3.x
Dear maintainer,
The version of Django experimental is currently 3.0.6-1. I have built
the 153 reverse-dependencies in unstable against this version and 114
of these build & pass their testsuite successfully. Unfortunately,
python-django-extensions fails to build. Please see:
http://bugs.debian.org/960890
... for more information. Please use this bug report for queries
or questions regarding Django 3.x that are not specific to this
particular package in order to reduce duplicated work across all of
the bugs.
[…]
django.setup()
File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/usr/lib/python3/dist-packages/django/contrib/admin/apps.py", line 24, in ready
self.module.autodiscover()
File "/usr/lib/python3/dist-packages/django/contrib/admin/__init__.py", line 26, in autodiscover
autodiscover_modules('admin', register_to=site)
File "/usr/lib/python3/dist-packages/django/utils/module_loading.py", line 47, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/lamby/temp/cdt.20200517001318.QUh0NKOOtV.ags.lamby-debian-experimental.python3-django-extensions/python-django-extensions-2.2.1/django_extensions/admin/__init__.py", line 21, in <module>
from django_extensions.admin.widgets import ForeignKeySearchInput
File "/home/lamby/temp/cdt.20200517001318.QUh0NKOOtV.ags.lamby-debian-experimental.python3-django-extensions/python-django-extensions-2.2.1/django_extensions/admin/widgets.py", line 7, in <module>
from django.contrib.admin.templatetags.admin_static import static
ModuleNotFoundError: No module named 'django.contrib.admin.templatetags.admin_static'
E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: python3.8 -m pytest --ds=tests.testapp.settings --cov=django_extensions django_extensions
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 --system=custom "--test-args={interpreter} -m pytest --ds=tests.testapp.settings --cov=django_extensions django_extensions" returned exit code 13
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
make[1]: Leaving directory '/home/lamby/temp/cdt.20200517001318.QUh0NKOOtV.ags.lamby-debian-experimental.python3-django-extensions/python-django-extensions-2.2.1'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-django-extensions.2.2.1-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5294 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200520/8c69acc8/attachment.obj>
More information about the Python-modules-team
mailing list