Package: src:python-django-health-check Version: 3.20.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-django-health-check, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-health-check * Building wheel... Unexpected names under [project]: homepage [... snipped ...] > response = client.get(self.url, HTTP_ACCEPT="application/json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_views.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/client.py:927: in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:457: in get return self.generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) ^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response log_response( /usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response getattr(logger, level)( /usr/lib/python3.14/logging/__init__.py:1549: in error self._log(ERROR, msg, args, **kwargs) /usr/lib/python3.14/logging/__init__.py:1665: in _log self.handle(record) /usr/lib/python3.14/logging/__init__.py:1681: in handle self.callHandlers(record) /usr/lib/python3.14/logging/__init__.py:1737: in callHandlers hdlr.handle(record) /usr/lib/python3.14/logging/__init__.py:1027: in handle self.emit(record) /usr/lib/python3/dist-packages/django/utils/log.py:125: in emit reporter.get_traceback_text(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text return t.render(c) ^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:175: in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/utils.py:111: in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) /usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send (receiver, receiver(signal=self, sender=sender, **named)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:267: in store_rendered_templates store["context"].append(copy(context)) ^^^^^^^^^^^^^ /usr/lib/python3.14/copy.py:82: in copy return copier(x) ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__ duplicate = super().__copy__() ^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 'unicode_hint': '', 'frames': [{'exc_cause': None, '...nternal Server Error: /ht/', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': None, 'type': 'user'}}] def __copy__(self): duplicate = copy(super()) > duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ E AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes /usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError ------------------------------ Captured log call ------------------------------- ERROR health-check:backends.py:51 unknown error: JSON Error ___________________ TestMainView.test_error_subset_not_found ___________________ self = <tests.test_views.TestMainView object at 0x7ffb91d1bac0> client = <django.test.client.Client object at 0x7ffb8bf71db0> def test_error_subset_not_found(self, client): plugin_dir.reset() > response = client.get(self.url + "liveness-probe/", {"format": "json"}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_views.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/client.py:927: in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:457: in get return self.generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) ^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response log_response( /usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response getattr(logger, level)( /usr/lib/python3.14/logging/__init__.py:1549: in error self._log(ERROR, msg, args, **kwargs) /usr/lib/python3.14/logging/__init__.py:1665: in _log self.handle(record) /usr/lib/python3.14/logging/__init__.py:1681: in handle self.callHandlers(record) /usr/lib/python3.14/logging/__init__.py:1737: in callHandlers hdlr.handle(record) /usr/lib/python3.14/logging/__init__.py:1027: in handle self.emit(record) /usr/lib/python3/dist-packages/django/utils/log.py:125: in emit reporter.get_traceback_text(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text return t.render(c) ^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:175: in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/utils.py:111: in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) /usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send (receiver, receiver(signal=self, sender=sender, **named)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:267: in store_rendered_templates store["context"].append(copy(context)) ^^^^^^^^^^^^^ /usr/lib/python3.14/copy.py:82: in copy return copier(x) ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__ duplicate = super().__copy__() ^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 'unicode_hint': '', 'frames': [{'exc_cause': None, '...Error: /ht/liveness-probe/', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': None, 'type': 'user'}}] def __copy__(self): duplicate = copy(super()) > duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ E AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes /usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError ______________________ TestMainView.test_error_param_json ______________________ self = <tests.test_views.TestMainView object at 0x7ffb91d1b800> client = <django.test.client.Client object at 0x7ffb8bf72490> def test_error_param_json(self, client): class JSONErrorBackend(BaseHealthCheckBackend): def run_check(self): self.add_error("JSON Error") plugin_dir.reset() plugin_dir.register(JSONErrorBackend) > response = client.get(self.url, {"format": "json"}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_views.py:308: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/client.py:927: in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:457: in get return self.generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) ^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response log_response( /usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response getattr(logger, level)( /usr/lib/python3.14/logging/__init__.py:1549: in error self._log(ERROR, msg, args, **kwargs) /usr/lib/python3.14/logging/__init__.py:1665: in _log self.handle(record) /usr/lib/python3.14/logging/__init__.py:1681: in handle self.callHandlers(record) /usr/lib/python3.14/logging/__init__.py:1737: in callHandlers hdlr.handle(record) /usr/lib/python3.14/logging/__init__.py:1027: in handle self.emit(record) /usr/lib/python3/dist-packages/django/utils/log.py:125: in emit reporter.get_traceback_text(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text return t.render(c) ^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:175: in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/utils.py:111: in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) /usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send (receiver, receiver(signal=self, sender=sender, **named)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:267: in store_rendered_templates store["context"].append(copy(context)) ^^^^^^^^^^^^^ /usr/lib/python3.14/copy.py:82: in copy return copier(x) ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__ duplicate = super().__copy__() ^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 'unicode_hint': '', 'frames': [{'exc_cause': None, '...nternal Server Error: /ht/', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': None, 'type': 'user'}}] def __copy__(self): duplicate = copy(super()) > duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ E AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes /usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError ------------------------------ Captured log call ------------------------------- ERROR health-check:backends.py:51 unknown error: JSON Error =============================== warnings summary =============================== tests/test_storage.py::HealthCheckStorageTests::test_get_storage_django_between_42_and_50 /usr/lib/python3/dist-packages/django/conf/__init__.py:343: RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead. warnings.warn(DEFAULT_FILE_STORAGE_DEPRECATED_MSG, RemovedInDjango51Warning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_views.py::TestMainView::test_success - AttributeError: 'sup... FAILED tests/test_views.py::TestMainView::test_error - AttributeError: 'super... FAILED tests/test_views.py::TestMainView::test_warning - AttributeError: 'sup... FAILED tests/test_views.py::TestMainView::test_non_critical - AttributeError:... FAILED tests/test_views.py::TestMainView::test_success_accept_xhtml - Attribu... FAILED tests/test_views.py::TestMainView::test_success_accept_order - Attribu... FAILED tests/test_views.py::TestMainView::test_format_no_accept_header - Attr... FAILED tests/test_views.py::TestMainView::test_error_accept_json - AttributeE... FAILED tests/test_views.py::TestMainView::test_error_subset_not_found - Attri... FAILED tests/test_views.py::TestMainView::test_error_param_json - AttributeEr... ================== 10 failed, 104 passed, 1 warning in 1.52s =================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-health-check/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-health-check/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 django: version: 4.2.26, settings: tests.testapp.settings (from env) rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-health-check/build configfile: pyproject.toml plugins: cov-5.0.0, typeguard-4.4.4, django-4.11.1 collected 114 items tests/test_cache.py ...... [ 5%] tests/test_db.py ...... [ 10%] tests/test_migrations.py .. [ 12%] tests/test_storage.py ........... [ 21%] tests/test_autodiscover.py .. [ 23%] tests/test_backends.py ...... [ 28%] tests/test_celery_ping.py ............. [ 40%] tests/test_commands.py .... [ 43%] tests/test_db_heartbeat.py .. [ 45%] tests/test_mail.py .... [ 49%] tests/test_mixins.py ........ [ 56%] tests/test_plugins.py . [ 57%] tests/test_rabbitmq.py ... [ 59%] tests/test_redis.py .... [ 63%] tests/test_views.py .......................................... [100%] =============================== warnings summary =============================== tests/test_storage.py::HealthCheckStorageTests::test_get_storage_django_between_42_and_50 /usr/lib/python3/dist-packages/django/conf/__init__.py:343: RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead. warnings.warn(DEFAULT_FILE_STORAGE_DEPRECATED_MSG, RemovedInDjango51Warning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 114 passed, 1 warning in 0.35s ======================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

