Package: src:python-django-extra-views Version: 0.14.0-4 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-extra-views, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3,sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** [... snipped ...] /usr/lib/python3/dist-packages/django/utils/deprecation.py:134: in __call__ response = response or self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:144: in response_for_exception 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, '...lf):'], 'pre_context_lineno': 32, 'colno': '\n ^^^^^^^^^^^^^^^', 'tb_area_colno': '\n ^^^^^^^^^^^^^^^'}}] 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 During handling of the above exception, another exception occurred: request = <WSGIRequest: GET '/sortable/fields/'> @wraps(get_response) def inner(request): try: > response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/utils/deprecation.py:134: in __call__ response = response or self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:144: in response_for_exception 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, '...lf):'], 'pre_context_lineno': 32, 'colno': '\n ^^^^^^^^^^^^^^^', 'tb_area_colno': '\n ^^^^^^^^^^^^^^^'}}] 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 During handling of the above exception, another exception occurred: self = <extra_views_tests.tests.SortableViewTest testMethod=test_sort> def test_sort(self): > res = self.client.get("/sortable/fields/") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ extra_views_tests/tests.py:631: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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:140: in get_response response = self._middleware_chain(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner response = response_for_exception(request, exc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/exception.py:144: in response_for_exception 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, '...lf):'], 'pre_context_lineno': 32, 'colno': '\n ^^^^^^^^^^^^^^^', 'tb_area_colno': '\n ^^^^^^^^^^^^^^^'}}] 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 =============================== warnings summary =============================== ../../../../../../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( extra_views_tests/tests.py::CalendarViewTests::test_create /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-extra-views/build/extra_views/dates.py:186: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.datetime.utcnow() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED extra_views_tests/tests.py::FormSetViewTests::test_create - AttributeE... FAILED extra_views_tests/tests.py::FormSetViewTests::test_factory_kwargs - At... FAILED extra_views_tests/tests.py::FormSetViewTests::test_formset_class - Att... FAILED extra_views_tests/tests.py::FormSetViewTests::test_formset_kwargs - At... FAILED extra_views_tests/tests.py::FormSetViewTests::test_formset_named - Att... FAILED extra_views_tests/tests.py::FormSetViewTests::test_inital - AttributeE... FAILED extra_views_tests/tests.py::FormSetViewTests::test_invalid - Attribute... FAILED extra_views_tests/tests.py::FormSetViewTests::test_prefix - AttributeE... FAILED extra_views_tests/tests.py::FormSetViewTests::test_success - Attribute... FAILED extra_views_tests/tests.py::FormSetViewTests::test_success_message - A... FAILED extra_views_tests/tests.py::FormSetViewTests::test_success_url - Attri... FAILED extra_views_tests/tests.py::ModelFormSetViewTests::test_context - Attr... FAILED extra_views_tests/tests.py::ModelFormSetViewTests::test_create - Attri... FAILED extra_views_tests/tests.py::ModelFormSetViewTests::test_exclude_is_used FAILED extra_views_tests/tests.py::ModelFormSetViewTests::test_fields_is_used FAILED extra_views_tests/tests.py::ModelFormSetViewTests::test_override - Att... FAILED extra_views_tests/tests.py::ModelFormSetViewTests::test_post - Attribu... FAILED extra_views_tests/tests.py::InlineFormSetViewTests::test_create - Attr... FAILED extra_views_tests/tests.py::InlineFormSetViewTests::test_post - Attrib... FAILED extra_views_tests/tests.py::InlineFormSetViewTests::test_save - Attrib... FAILED extra_views_tests/tests.py::GenericInlineFormSetViewTests::test_get - ... FAILED extra_views_tests/tests.py::GenericInlineFormSetViewTests::test_intial_data_is_used FAILED extra_views_tests/tests.py::GenericInlineFormSetViewTests::test_post FAILED extra_views_tests/tests.py::GenericInlineFormSetViewTests::test_post2 FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_create - Attri... FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_create_success_message FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_named_create FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_update - Attri... FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_url_arg - Attr... FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_validation - A... FAILED extra_views_tests/tests.py::ModelWithInlinesTests::test_view_object_is_none_after_failed_validation_for_createview FAILED extra_views_tests/tests.py::CalendarViewTests::test_create - Attribute... FAILED extra_views_tests/tests.py::SearchableListTests::test_search - Attribu... FAILED extra_views_tests/tests.py::SortableViewTest::test_sort - AttributeErr... ====== 34 failed, 1 passed, 1 deselected, 1 xfailed, 2 warnings in 28.92s ====== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-extra-views/build; python3.14 -m pytest -k "not test_missing_management" I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tox.ini /<<PKGBUILDDIR>>/manage.py /<<PKGBUILDDIR>>/extra_views_tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build; python3.13 -m pytest -k "not test_missing_management" ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 django: version: 4.2.26, settings: extra_views_tests.settings (from ini) rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build configfile: tox.ini plugins: typeguard-4.4.4, django-4.11.1 collected 37 items / 1 deselected / 36 selected extra_views_tests/tests.py ........x........................... [100%] =============================== warnings summary =============================== ../../../../../../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( extra_views_tests/tests.py: 176 warnings /usr/lib/python3/dist-packages/django/template/base.py:1047: RemovedInDjango50Warning: The "default.html" templates for forms and formsets will be removed. These were proxies to the equivalent "table.html" templates, but the new "div.html" templates will be the default from Django 5.0. Transitional renderers are provided to allow you to opt-in to the new output style now. See https://docs.djangoproject.com/en/4.2/releases/4.1/ for more details value = str(value) extra_views_tests/tests.py::CalendarViewTests::test_create /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build/extra_views/dates.py:186: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.datetime.utcnow() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========== 35 passed, 1 deselected, 1 xfailed, 178 warnings in 0.59s =========== I: pybuild pybuild:334: rm -rf /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build/extra_views_tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build/tox.ini /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extra-views/build/manage.py dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:14: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

