Your message dated Sat, 30 Jul 2022 22:20:44 +0000
with message-id <e1ohupa-0005bk...@fasolo.debian.org>
and subject line Bug#1013555: fixed in python-django-csp 3.7-3
has caused the Debian Bug report #1013555,
regarding python-django-csp: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p "3.9 3.10" returned exit code 13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1013555: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013555
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-csp
Version: 3.7-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
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;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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 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.
--- End Message ---
--- Begin Message ---
Source: python-django-csp
Source-Version: 3.7-3
Done: Michael Fladischer <fl...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-django-csp, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1013...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Fladischer <fl...@debian.org> (supplier of updated python-django-csp
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 30 Jul 2022 21:49:13 +0000
Source: python-django-csp
Architecture: source
Version: 3.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael Fladischer <fl...@debian.org>
Closes: 1013555
Changes:
python-django-csp (3.7-3) unstable; urgency=medium
.
* Add patch for Django 4 compatibility (Closes: #1013555).
* Bump Standards-Version to 4.6.1.0.
* Depend on python3-all for autopkgtests.
* Update year in d/copyright.
Checksums-Sha1:
cd43b8cf0f4cf0c8a70ad79314133d893f298f70 1920 python-django-csp_3.7-3.dsc
64bdbf130b6ddb864be04d5044ba831d4eaca580 4216
python-django-csp_3.7-3.debian.tar.xz
c464660359f25adcb2cdf6ef1c666b42ba37207e 8057
python-django-csp_3.7-3_arm64.buildinfo
Checksums-Sha256:
5bf29b2f9a56f90b0515404df8dc5c056faa77374b1ed860a14d63f483493022 1920
python-django-csp_3.7-3.dsc
4901761b73c24ced3f8c35a36f404dae19135ff0c06a4b945c36146a53957e73 4216
python-django-csp_3.7-3.debian.tar.xz
40f17d57bcb23aece45798b4c389a0edb6f404bedb933c60f0a7d2fd13830120 8057
python-django-csp_3.7-3_arm64.buildinfo
Files:
cdcef28245eae62f7d203521850d574f 1920 python optional
python-django-csp_3.7-3.dsc
1a664373f69dc978146f78e22c3380a5 4216 python optional
python-django-csp_3.7-3.debian.tar.xz
a0c97513ab7db181f5134d31d83e7d23 8057 python optional
python-django-csp_3.7-3_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmLlqQIACgkQ/9PIi5l9
0Wq38wf9G4ZNASSjqma9LsJprHdFtsG/g6o5N5gkq0WLbZkzIaV8Xk0/glEzcUl2
RmzVCOSILFN7Td9CYpTwf3nh9cma1x+Clco/J71d/HYLyRuJuKkeeT5HHPAxymxA
/7X55Vx+/Dypn7cVZYoqnvEXrzOdeLx5T62mq//01iLnvjK1JOavbUsGYfz2r6yO
MZTuoz2qk9c8Jm48F8f2kXNNrwFVfXcCyYUng95d6WBhLbKLSXvJdxOM8U4UVcns
+TBPcKzvoJTe4u2H8sZwsIcZA0UIfntIL+kqyVfBx1iRvNuqEGQc79g3p54RzCsc
H61p5YWyqQWgJbYca/LM7c5VZIExHw==
=RLTz
-----END PGP SIGNATURE-----
--- End Message ---