Package: src:python-django-simple-history Version: 3.7.0-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-simple-history, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --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-simple-history * Building wheel... Successfully built django_simple_history-3.7.0-py3-none-any.whl [... snipped ...] 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/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ 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 ====================================================================== ERROR: test_overriding__historical_record_context_helper__with_custom_m2m_string (simple_history.tests.tests.test_admin.AdminSiteTest.test_overriding__historical_record_context_helper__with_custom_m2m_string) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/tests/tests/test_admin.py", line 251, in test_overriding__historical_record_context_helper__with_custom_m2m_string response = self.client.get(get_history_url(poll)) File "/usr/lib/python3/dist-packages/django/test/client.py", line 927, in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) File "/usr/lib/python3/dist-packages/django/test/client.py", line 457, in get return self.generic( ~~~~~~~~~~~~^ "GET", ^^^^^^ ...<6 lines>... }, ^^ ) ^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 609, in generic return self.request(**r) ~~~~~~~~~~~~^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 891, in request self.check_exception(response) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 738, in check_exception raise exc_value 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 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python3/dist-packages/django/contrib/admin/options.py", line 688, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/utils/decorators.py", line 134, in _wrapper_view response = view_func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func response = view_func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/django/contrib/admin/sites.py", line 242, in inner return view(request, *args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/admin.py", line 107, in history_view return self.render_history_view( ~~~~~~~~~~~~~~~~~~~~~~~~^ request, self.object_history_template, context, **extra_kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/admin.py", line 301, in render_history_view return render(request, template, context, **kwargs) File "/usr/lib/python3/dist-packages/django/shortcuts.py", line 24, in render content = loader.render_to_string(template_name, context, request, using=using) File "/usr/lib/python3/dist-packages/django/template/loader.py", line 62, in render_to_string return template.render(context, 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/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ 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 ====================================================================== ERROR: test_rolled_back_user_does_not_lead_to_foreign_key_error (simple_history.tests.tests.test_admin.AdminSiteTest.test_rolled_back_user_does_not_lead_to_foreign_key_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/test/utils.py", line 461, in inner return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/tests/tests/test_admin.py", line 448, in test_rolled_back_user_does_not_lead_to_foreign_key_error self.client.get(reverse("admin:tests_book_add")).status_code, 200 ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 927, in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) File "/usr/lib/python3/dist-packages/django/test/client.py", line 457, in get return self.generic( ~~~~~~~~~~~~^ "GET", ^^^^^^ ...<6 lines>... }, ^^ ) ^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 609, in generic return self.request(**r) ~~~~~~~~~~~~^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 891, in request self.check_exception(response) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 738, in check_exception raise exc_value 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/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ 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 ====================================================================== ERROR: test_underscore_in_pk (simple_history.tests.tests.test_admin.AdminSiteTest.test_underscore_in_pk) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/tests/tests/test_admin.py", line 394, in test_underscore_in_pk response = self.client.get(get_history_url(book)) File "/usr/lib/python3/dist-packages/django/test/client.py", line 927, in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) File "/usr/lib/python3/dist-packages/django/test/client.py", line 457, in get return self.generic( ~~~~~~~~~~~~^ "GET", ^^^^^^ ...<6 lines>... }, ^^ ) ^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 609, in generic return self.request(**r) ~~~~~~~~~~~~^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 891, in request self.check_exception(response) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 738, in check_exception raise exc_value 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 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python3/dist-packages/django/contrib/admin/options.py", line 688, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/utils/decorators.py", line 134, in _wrapper_view response = view_func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func response = view_func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/django/contrib/admin/sites.py", line 242, in inner return view(request, *args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/admin.py", line 107, in history_view return self.render_history_view( ~~~~~~~~~~~~~~~~~~~~~~~~^ request, self.object_history_template, context, **extra_kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build/simple_history/admin.py", line 301, in render_history_view return render(request, template, context, **kwargs) File "/usr/lib/python3/dist-packages/django/shortcuts.py", line 24, in render content = loader.render_to_string(template_name, context, request, using=using) File "/usr/lib/python3/dist-packages/django/template/loader.py", line 62, in render_to_string return template.render(context, 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/test/utils.py", line 111, in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 177, in send (receiver, receiver(signal=self, sender=sender, **named)) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in store_rendered_templates store["context"].append(copy(context)) ~~~~^^^^^^^^^ 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 ---------------------------------------------------------------------- Ran 330 tests in 7.252s FAILED (errors=26) Destroying test database for alias 'default'... Destroying test database for alias 'other'... Creating test database for alias 'default'... Found 21 test(s). System check identified no issues (0 silenced). ..................... ---------------------------------------------------------------------- Ran 21 tests in 0.385s OK Destroying test database for alias 'default'... E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=26: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-simple-history/build; {interpreter} runtests.py I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-simple-history/build; python3.13 runtests.py Creating test database for alias 'default'... Found 330 test(s). Creating test database for alias 'other'... System check identified no issues (0 silenced). .......................................................................................................................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 330 tests in 7.255s OK Destroying test database for alias 'default'... Destroying test database for alias 'other'... Creating test database for alias 'default'... Found 21 test(s). System check identified no issues (0 silenced). ..................... ---------------------------------------------------------------------- Ran 21 tests in 0.346s OK Destroying test database for alias 'default'... dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

