Package: src:python-django-treebeard Version: 4.7.1-2 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-treebeard, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with=sphinxdoc --buildsystem=pybuild debian/rules execute_before_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf docs/.build make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with=sphinxdoc --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 [... snipped ...] m = admin_class(model, site) list_display = m.get_list_display(request) list_display_links = m.get_list_display_links(request, list_display) cl = ChangeList(*get_changelist_args( request, model, list_display, list_display_links, m.list_filter, m.date_hierarchy, m.search_fields, m.list_select_related, m.list_per_page, m.list_max_show_all, m.list_editable, m, [], )) cl.formset = None context = Context({"cl": cl, "request": request}) > table_output = self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ treebeard/tests/test_treebeard.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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:112: in instrumented_test_render return self.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:414: in render return strip_spaces_between_tags(self.nodelist.render(context).strip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /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/library.py:271: in render new_context = context.new(_dict) ^^^^^^^^^^^^^^^^^^ /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}, {'cl': <ChangeList: model=MP_TestNodeUuid model_admin=MP_TestNodeUuidFormAdmin>, 'request': <WSGIRequest: GET '/admin/tree/?desc=1'>}] 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 ___________ TestAdminTree.test_result_filtered[MP_TestNodeCustomId] ____________ self = <treebeard.tests.test_treebeard.TestAdminTree object at 0x7f5a2e9fa6d0> model_without_proxy = <class 'treebeard.tests.models.MP_TestNodeCustomId'> def test_result_filtered(self, model_without_proxy): """Test template changes with filters or pagination.""" model = model_without_proxy # Filtered GET request = RequestFactory().get("/admin/tree/?desc=1") request.user = AnonymousUser() site = AdminSite() form_class = movenodeform_factory(model) admin_class = admin_factory(form_class) m = admin_class(model, site) list_display = m.get_list_display(request) list_display_links = m.get_list_display_links(request, list_display) cl = ChangeList(*get_changelist_args( request, model, list_display, list_display_links, m.list_filter, m.date_hierarchy, m.search_fields, m.list_select_related, m.list_per_page, m.list_max_show_all, m.list_editable, m, [], )) cl.formset = None context = Context({"cl": cl, "request": request}) > table_output = self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ treebeard/tests/test_treebeard.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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:112: in instrumented_test_render return self.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:414: in render return strip_spaces_between_tags(self.nodelist.render(context).strip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /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/library.py:271: in render new_context = context.new(_dict) ^^^^^^^^^^^^^^^^^^ /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}, {'cl': <ChangeList: model=MP_TestNodeCustomId model_admin=MP_TestNodeCustomIdFormAdmin>, 'request': <WSGIRequest: GET '/admin/tree/?desc=1'>}] 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( .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[AL_TestNodeSorted] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[MP_TestNodeSorted] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[NS_TestNodeSorted] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py:2438: 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 assert "id__position" in str(form) .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[AL_TestNodeSorted] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[MP_TestNodeSorted] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[NS_TestNodeSorted] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py:2439: 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 assert "id__ref_node_id" in str(form) .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeUuid] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeCustomId] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode_Proxy] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode_Proxy] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode_Proxy] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py:2451: 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 assert "id__position" in str(form) .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeUuid] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeCustomId] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode_Proxy] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode_Proxy] .pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode_Proxy] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-treebeard/build/treebeard/tests/test_treebeard.py:2452: 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 assert "id__ref_node_id" in str(form) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_tree[AL_TestNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_tree[MP_TestNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_tree[NS_TestNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_tree[MP_TestNodeUuid] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_tree[MP_TestNodeCustomId] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_unicode_result_tree[AL_UnicodeNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_unicode_result_tree[MP_UnicodeNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_unicode_result_tree[NS_UnicodetNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_filtered[AL_TestNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_filtered[MP_TestNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_filtered[NS_TestNode] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_filtered[MP_TestNodeUuid] FAILED treebeard/tests/test_treebeard.py::TestAdminTree::test_result_filtered[MP_TestNodeCustomId] =========== 13 failed, 1145 passed, 1 skipped, 23 warnings in 11.03s =========== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-treebeard/build; python3.14 -m pytest I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-treebeard/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4, django-4.11.1 collected 1159 items treebeard/tests/test_migrations.py . [ 0%] treebeard/tests/test_treebeard.py ...................................... [ 3%] ........................................................................ [ 9%] ........................................................................ [ 15%] ........................................................................ [ 22%] ........................................................................ [ 28%] ........................................................................ [ 34%] ........................................................................ [ 40%] ........................................................................ [ 46%] ........................................................................ [ 53%] ........................................................................ [ 59%] ........................................................................ [ 65%] ........................................................................ [ 71%] ........................................................................ [ 77%] ............s........................................................... [ 84%] ........................................................................ [ 90%] ........................................................................ [ 96%] ........................................ [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( .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[AL_TestNodeSorted] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[MP_TestNodeSorted] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[NS_TestNodeSorted] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py:2438: 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 assert "id__position" in str(form) .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[AL_TestNodeSorted] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[MP_TestNodeSorted] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestSortedForm::test_sorted_form[NS_TestNodeSorted] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py:2439: 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 assert "id__ref_node_id" in str(form) .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeUuid] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeCustomId] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode_Proxy] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode_Proxy] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode_Proxy] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py:2451: 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 assert "id__position" in str(form) .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeUuid] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNodeCustomId] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[AL_TestNode_Proxy] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[MP_TestNode_Proxy] .pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py::TestForm::test_form[NS_TestNode_Proxy] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-treebeard/build/treebeard/tests/test_treebeard.py:2452: 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 assert "id__ref_node_id" in str(form) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================= 1158 passed, 1 skipped, 23 warnings in 9.70s ================= 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 --------------------------------------------------------------------------------

