Package: src:django-sitetree Version: 1.18.0+dfsg-3 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:django-sitetree, 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/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /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 :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. [... snipped ...] /usr/lib/python3/dist-packages/django/template/base.py:966: in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:1064: in render output = self.filter_expression.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:715: in resolve obj = self.var.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:847: in resolve value = self._resolve_lookup(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:914: in _resolve_lookup current = current() ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/loader_tags.py:79: in super return mark_safe(self.render(self.context)) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/loader_tags.py:63: in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:1005: in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:966: in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/loader_tags.py:63: in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:1005: in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:966: in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/defaulttags.py:321: in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:1005: in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:966: in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/loader_tags.py:63: in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:1005: in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:966: in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/contrib/admin/templatetags/base.py:45: in render return super().render(context) ^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/library.py:271: in render new_context = context.new(_dict) ^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:265: in new new_context = super().new(values) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:110: in new new_context = copy(self) ^^^^^^^^^^ /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}, {}, {}, {'site_title': 'Django site admin', 'site_header': 'Django admi...ar': '_to_field', 'is_popup_var': '_popup', 'app_label': 'sitetree', 'LANGUAGE_CODE': 'en-us', 'LANGUAGE_BIDI': False}] 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 django.request:log.py:246 Internal Server Error: /admin/sitetree/tree/1/change/item_2/ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 220, in _get_response response = response.render() File "/usr/lib/python3/dist-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 61, in render return self.template.render(context) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in render return self._render(context) ~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 157, in render return compiled_parent._render(context) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 157, in render return compiled_parent._render(context) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 157, in render return compiled_parent._render(context) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 167, in _render return self.nodelist.render(context) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 1064, in render output = self.filter_expression.resolve(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 715, in resolve obj = self.var.resolve(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 847, in resolve value = self._resolve_lookup(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 914, in _resolve_lookup current = current() File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 79, in super return mark_safe(self.render(self.context)) ~~~~~~~~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 321, in render return nodelist.render(context) ~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 63, in render result = block.nodelist.render(context) File "/usr/lib/python3/dist-packages/django/template/base.py", line 1005, in render return SafeString("".join([node.render_annotated(context) for node in self])) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/base.py", line 966, in render_annotated return self.render(context) ~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/contrib/admin/templatetags/base.py", line 45, in render return super().render(context) ~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/template/library.py", line 271, in render new_context = context.new(_dict) File "/usr/lib/python3/dist-packages/django/template/context.py", line 265, in new new_context = super().new(values) File "/usr/lib/python3/dist-packages/django/template/context.py", line 110, in new new_context = copy(self) File "/usr/lib/python3.14/copy.py", line 82, in copy return copier(x) File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, in __copy__ duplicate = super().__copy__() File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in __copy__ duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes =============================== warnings summary =============================== sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-sitetree/build/sitetree/tests/test_templatetags.py:16: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(lambda: []) sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-sitetree/build/sitetree/tests/test_templatetags.py:23: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(my_processor) sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-sitetree/build/sitetree/tests/test_templatetags.py:40: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(my_processor) sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-sitetree/build/sitetree/tests/test_templatetags.py:47: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(None) # Reset. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED sitetree/tests/test_admin.py::test_parent_choices - AttributeError: 's... =================== 1 failed, 50 passed, 4 warnings in 2.86s =================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-sitetree/build; python3.14 -m pytest I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-sitetree/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-sitetree/build configfile: pytest.ini plugins: typeguard-4.4.4 collected 51 items sitetree/tests/test_admin.py ....... [ 13%] sitetree/tests/test_dynamic.py .... [ 21%] sitetree/tests/test_forms.py .. [ 25%] sitetree/tests/test_management.py ... [ 31%] sitetree/tests/test_migrations.py . [ 33%] sitetree/tests/test_models.py .. [ 37%] sitetree/tests/test_other.py ..... [ 47%] sitetree/tests/test_templatetags.py ............... [ 76%] sitetree/tests/test_utils.py ............ [100%] =============================== warnings summary =============================== sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-sitetree/build/sitetree/tests/test_templatetags.py:16: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(lambda: []) sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-sitetree/build/sitetree/tests/test_templatetags.py:23: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(my_processor) sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-sitetree/build/sitetree/tests/test_templatetags.py:40: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(my_processor) sitetree/tests/test_templatetags.py::test_items_hook /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-sitetree/build/sitetree/tests/test_templatetags.py:47: DeprecationWarning: Items hooking with `register_items_hook` is deprecated, please use `SITETREE_CLS` settings customization instead. register_items_hook(None) # Reset. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 51 passed, 4 warnings in 2.57s ======================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

