Source: python-django-csp
Version: 3.7-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3,sphinxdoc --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py config 
> running config
> I: pybuild base:311: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> copying csp/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> copying csp/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> copying csp/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> copying csp/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> copying csp/decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> copying csp/context_processors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/extensions
> copying csp/extensions/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/extensions
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/environment.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_contrib.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_context_processors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_templatetags.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/settings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> copying csp/tests/test_jinja_extension.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/contrib
> copying csp/contrib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/contrib
> copying csp/contrib/rate_limiting.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/contrib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/templatetags
> copying csp/templatetags/csp.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/templatetags
> copying csp/templatetags/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/templatetags
> running egg_info
> creating django_csp.egg-info
> writing django_csp.egg-info/PKG-INFO
> writing dependency_links to django_csp.egg-info/dependency_links.txt
> writing requirements to django_csp.egg-info/requires.txt
> writing top-level names to django_csp.egg-info/top_level.txt
> writing manifest file 'django_csp.egg-info/SOURCES.txt'
> reading manifest file 'django_csp.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'django_csp.egg-info/SOURCES.txt'
> I: pybuild base:311: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> copying csp/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> copying csp/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> copying csp/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> copying csp/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> copying csp/decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> copying csp/context_processors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/extensions
> copying csp/extensions/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/extensions
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/environment.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_contrib.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_context_processors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_templatetags.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/settings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> copying csp/tests/test_jinja_extension.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/contrib
> copying csp/contrib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/contrib
> copying csp/contrib/rate_limiting.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/contrib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/templatetags
> copying csp/templatetags/csp.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/templatetags
> copying csp/templatetags/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/templatetags
> running egg_info
> writing django_csp.egg-info/PKG-INFO
> writing dependency_links to django_csp.egg-info/dependency_links.txt
> writing requirements to django_csp.egg-info/requires.txt
> writing top-level names to django_csp.egg-info/top_level.txt
> reading manifest file 'django_csp.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'django_csp.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build; python3.12 -m 
> pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 -- 
> /usr/bin/python3.12
> cachedir: .pytest_cache
> django: settings: csp.tests.settings (from ini)
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: django-4.5.2
> collecting ... collected 33 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.12_django-csp/build/csp/tests/test_utils.py _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build/csp/tests/test_utils.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> csp/tests/test_utils.py:4: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241
>   /usr/lib/python3/dist-packages/django/conf/__init__.py:241: 
> RemovedInDjango50Warning: The default value of USE_TZ will change from False 
> to True in Django 5.0. Set USE_TZ to False in your project settings if you 
> want to keep the current default behavior.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> ERROR csp/tests/test_utils.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> ========================= 2 warnings, 1 error in 0.20s 
> =========================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-csp/build; python3.12 -m 
> pytest 
> I: pybuild base:311: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build; python3.11 -m 
> pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0 -- 
> /usr/bin/python3.11
> cachedir: .pytest_cache
> django: settings: csp.tests.settings (from ini)
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: django-4.5.2
> collecting ... collected 33 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.11_django-csp/build/csp/tests/test_utils.py _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build/csp/tests/test_utils.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> csp/tests/test_utils.py:4: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241
>   /usr/lib/python3/dist-packages/django/conf/__init__.py:241: 
> RemovedInDjango50Warning: The default value of USE_TZ will change from False 
> to True in Django 5.0. Set USE_TZ to False in your project settings if you 
> want to keep the current default behavior.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> ERROR csp/tests/test_utils.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> ========================= 2 warnings, 1 error in 0.20s 
> =========================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-csp/build; python3.11 -m 
> pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-django-csp_3.7-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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.

Reply via email to