Source: python-django-csp Version: 3.7-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ftbfs-20220624 ftbfs-bookworm
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:239: python3.9 setup.py config > running config > I: pybuild base:239: python3.10 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:239: /usr/bin/python3.9 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > copying csp/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > copying csp/middleware.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > copying csp/models.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > copying csp/decorators.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > copying csp/context_processors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > copying csp/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/extensions > copying csp/extensions/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/extensions > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/contrib > copying csp/contrib/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/contrib > copying csp/contrib/rate_limiting.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/contrib > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_templatetags.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_middleware.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/settings.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/environment.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_contrib.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_jinja_extension.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_context_processors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/test_decorators.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > copying csp/tests/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/templatetags > copying csp/templatetags/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build/csp/templatetags > copying csp/templatetags/csp.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_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:239: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > copying csp/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > copying csp/middleware.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > copying csp/models.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > copying csp/decorators.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > copying csp/context_processors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > copying csp/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/extensions > copying csp/extensions/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/extensions > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/contrib > copying csp/contrib/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/contrib > copying csp/contrib/rate_limiting.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/contrib > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_templatetags.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_middleware.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/settings.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/environment.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_contrib.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_jinja_extension.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_context_processors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/test_decorators.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > copying csp/tests/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/tests > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/templatetags > copying csp/templatetags/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build/csp/templatetags > copying csp/templatetags/csp.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_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:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build; python3.9 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.9.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- > /usr/bin/python3.9 > cachedir: .pytest_cache > Django settings: csp.tests.settings (from ini file) > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: django-3.5.1 > collecting ... collected 43 items / 6 errors / 37 selected > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.9_django-csp/build/csp/tests/test_context_processors.py _ > csp/tests/test_context_processors.py:8: in <module> > mw = CSPMiddleware() > E TypeError: __init__() missing 1 required positional argument: > 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.9_django-csp/build/csp/tests/test_contrib.py _ > csp/tests/test_contrib.py:9: in <module> > mw = RateLimitedCSPMiddleware() > E TypeError: __init__() missing 1 required positional argument: > 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.9_django-csp/build/csp/tests/test_decorators.py _ > csp/tests/test_decorators.py:10: in <module> > mw = CSPMiddleware() > E TypeError: __init__() missing 1 required positional argument: > 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.9_django-csp/build/csp/tests/test_jinja_extension.py _ > csp/tests/test_jinja_extension.py:1: in <module> > from csp.tests.utils import ScriptExtensionTestBase > csp/tests/utils.py:8: in <module> > mw = CSPMiddleware() > E TypeError: __init__() missing 1 required positional argument: > 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.9_django-csp/build/csp/tests/test_middleware.py _ > csp/tests/test_middleware.py:13: in <module> > mw = CSPMiddleware() > E TypeError: __init__() missing 1 required positional argument: > 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.9_django-csp/build/csp/tests/test_templatetags.py _ > csp/tests/test_templatetags.py:1: in <module> > from csp.tests.utils import ScriptTagTestBase > csp/tests/utils.py:8: in <module> > mw = CSPMiddleware() > E TypeError: __init__() missing 1 required positional argument: > 'get_response' > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:206 > ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:206 > /usr/lib/python3/dist-packages/django/conf/__init__.py:206: > 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/warnings.html > =========================== short test summary info > ============================ > ERROR csp/tests/test_context_processors.py - TypeError: __init__() missing 1 > ... > ERROR csp/tests/test_contrib.py - TypeError: __init__() missing 1 required > po... > ERROR csp/tests/test_decorators.py - TypeError: __init__() missing 1 > required... > ERROR csp/tests/test_jinja_extension.py - TypeError: __init__() missing 1 > req... > ERROR csp/tests/test_middleware.py - TypeError: __init__() missing 1 > required... > ERROR csp/tests/test_templatetags.py - TypeError: __init__() missing 1 > requir... > !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection > !!!!!!!!!!!!!!!!!!!! > ======================== 2 warnings, 6 errors in 0.23s > ========================= > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-csp/build; python3.9 -m pytest > I: pybuild base:239: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build; python3.10 -m > pytest > ============================= test session starts > ============================== > platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- > /usr/bin/python3.10 > cachedir: .pytest_cache > Django settings: csp.tests.settings (from ini file) > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: django-3.5.1 > collecting ... collected 43 items / 6 errors / 37 selected > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.10_django-csp/build/csp/tests/test_context_processors.py _ > csp/tests/test_context_processors.py:8: in <module> > mw = CSPMiddleware() > E TypeError: MiddlewareMixin.__init__() missing 1 required positional > argument: 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.10_django-csp/build/csp/tests/test_contrib.py _ > csp/tests/test_contrib.py:9: in <module> > mw = RateLimitedCSPMiddleware() > E TypeError: MiddlewareMixin.__init__() missing 1 required positional > argument: 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.10_django-csp/build/csp/tests/test_decorators.py _ > csp/tests/test_decorators.py:10: in <module> > mw = CSPMiddleware() > E TypeError: MiddlewareMixin.__init__() missing 1 required positional > argument: 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.10_django-csp/build/csp/tests/test_jinja_extension.py _ > csp/tests/test_jinja_extension.py:1: in <module> > from csp.tests.utils import ScriptExtensionTestBase > csp/tests/utils.py:8: in <module> > mw = CSPMiddleware() > E TypeError: MiddlewareMixin.__init__() missing 1 required positional > argument: 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.10_django-csp/build/csp/tests/test_middleware.py _ > csp/tests/test_middleware.py:13: in <module> > mw = CSPMiddleware() > E TypeError: MiddlewareMixin.__init__() missing 1 required positional > argument: 'get_response' > _ ERROR collecting > .pybuild/cpython3_3.10_django-csp/build/csp/tests/test_templatetags.py _ > csp/tests/test_templatetags.py:1: in <module> > from csp.tests.utils import ScriptTagTestBase > csp/tests/utils.py:8: in <module> > mw = CSPMiddleware() > E TypeError: MiddlewareMixin.__init__() missing 1 required positional > argument: 'get_response' > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:206 > ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:206 > /usr/lib/python3/dist-packages/django/conf/__init__.py:206: > 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/warnings.html > =========================== short test summary info > ============================ > ERROR csp/tests/test_context_processors.py - TypeError: > MiddlewareMixin.__ini... > ERROR csp/tests/test_contrib.py - TypeError: MiddlewareMixin.__init__() > missi... > ERROR csp/tests/test_decorators.py - TypeError: MiddlewareMixin.__init__() > mi... > ERROR csp/tests/test_jinja_extension.py - TypeError: > MiddlewareMixin.__init__... > ERROR csp/tests/test_middleware.py - TypeError: MiddlewareMixin.__init__() > mi... > ERROR csp/tests/test_templatetags.py - TypeError: MiddlewareMixin.__init__() > ... > !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection > !!!!!!!!!!!!!!!!!!!! > ======================== 2 warnings, 6 errors in 0.23s > ========================= > E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-csp/build; python3.10 -m > pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2022/06/24/python-django-csp_3.7-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;[email protected] or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&[email protected]&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 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.

