[Python-modules-team] Bug#997302: django-pipeline: FTBFS: ImportError: cannot import name 'six' from 'django.utils' (/usr/lib/python3/dist-packages/django/utils/__init__.py)
Lucas Nussbaum
lucas at debian.org
Sat Oct 23 20:34:06 BST 2021
Source: django-pipeline
Version: 1.6.14-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYTHONPATH=. /usr/bin/django-admin collectstatic --settings=tests.settings --noinput
> Traceback (most recent call last):
> File "/usr/bin/django-admin", line 33, in <module>
> sys.exit(load_entry_point('Django==3.2.8', 'console_scripts', 'django-admin')())
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 395, in execute
> 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 91, in populate
> app_config = AppConfig.create(entry)
> File "/usr/lib/python3/dist-packages/django/apps/config.py", line 224, in create
> import_module(entry)
> File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
> File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 850, in exec_module
> File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/tests/__init__.py", line 10, in <module>
> from .test_collector import *
> File "/<<PKGBUILDDIR>>/tests/tests/test_collector.py", line 9, in <module>
> from pipeline.collector import default_collector
> File "/<<PKGBUILDDIR>>/pipeline/collector.py", line 10, in <module>
> from django.utils import six
> ImportError: cannot import name 'six' from 'django.utils' (/usr/lib/python3/dist-packages/django/utils/__init__.py)
> make[1]: *** [debian/rules:25: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/django-pipeline_1.6.14-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Python-modules-team
mailing list