Package: src:python-django-registration Version: 3.3-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-registration, 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 debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf docs/_build/ dh_auto_clean 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 :: BSD License [... snipped ...] return self.generic( ~~~~~~~~~~~~^ "POST", ^^^^^^^ ...<5 lines>... **extra, ^^^^^^^^ ) ^ 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 886, in request response = self.handler(environ) File "/usr/lib/python3/dist-packages/django/test/client.py", line 176, in __call__ response = self.get_response(request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 140, in get_response response = self._middleware_chain(request) File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 57, in inner response = response_for_exception(request, exc) File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 144, in response_for_exception log_response( ~~~~~~~~~~~~^ "%s: %s", ^^^^^^^^^ ...<4 lines>... exception=exc, ^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in log_response getattr(logger, level)( ~~~~~~~~~~~~~~~~~~~~~~^ message, ^^^^^^^^ ...<5 lines>... exc_info=exception, ^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error self._log(ERROR, msg, args, **kwargs) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log self.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle self.callHandlers(record) ~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers hdlr.handle(record) ~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle self.emit(record) ~~~~~~~~~^^^^^^^^ File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit reporter.get_traceback_text(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in get_traceback_text return t.render(c) ~~~~~~~~^^^ 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 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/tests/base.py", line 177, in test_registration_signal with self.assertSignalSent(signals.user_registered) as cm: ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/contextlib.py", line 162, in __exit__ self.gen.throw(value) ~~~~~~~~~~~~~~^^^^^^^ File "/<<PKGBUILDDIR>>/tests/base.py", line 92, in assertSignalSent with _AssertSignalSentContext(self, signal, required_kwargs) as cm: ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/tests/base.py", line 46, in __exit__ self.test_case.fail("Signal was not sent.") ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Signal was not sent. ---------------------------------------------------------------------- Ran 73 tests in 6.738s FAILED (failures=11, errors=39) Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-registration/build; cd {dir}; PYTHONPATH={dir}/src {interpreter} {dir}/runtests.py I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-registration/build; cd /<<PKGBUILDDIR>>; PYTHONPATH=/<<PKGBUILDDIR>>/src python3.13 /<<PKGBUILDDIR>>/runtests.py Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Found 73 test(s). Operations to perform: Apply all migrations: auth, contenttypes, django_registration, sessions, sites, tests Running migrations: Applying contenttypes.0001_initial... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0001_initial... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying auth.0010_alter_group_name_max_length... OK Applying auth.0011_update_proxy_permissions... OK Applying auth.0012_alter_user_first_name_max_length... OK Applying django_registration.0001_initial... OK Applying sessions.0001_initial... OK Applying sites.0001_initial... OK Applying sites.0002_alter_domain_unique... OK Applying tests.0001_initial... OK System check identified no issues (0 silenced). test_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_activation) Activation of an account functions properly. ... ok test_activation_expired (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_activation_expired) An expired account can't be activated. ... ok test_activation_signal (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_activation_signal) ... ok test_bad_key (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_bad_key) An invalid activation key fails to activate. ... ok test_custom_user_configured (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_custom_user_configured) Asserts that the user model in use is the custom user model ... ok test_nonexistent_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_nonexistent_activation) A nonexistent username in an activation key will fail to ... ok test_registration (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration) Registration creates a new inactive account and sends an ... ok test_registration_closed (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration_closed) ``REGISTRATION_OPEN``, when ``False``, disallows registration. ... ok test_registration_failure (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration_failure) Registering with invalid data fails. ... ok test_registration_get (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration_get) HTTP ``GET`` to the registration view uses the appropriate ... ok test_registration_no_sites (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration_no_sites) Registration still functions properly when ... ok test_registration_open (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration_open) ``REGISTRATION_OPEN``, when ``True``, permits registration. ... ok test_registration_signal (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_registration_signal) ... ok test_repeat_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests.test_repeat_activation) Once activated, attempting to re-activate an account (even ... ok test_activation (tests.test_activation_workflow.ActivationBackendViewTests.test_activation) Activation of an account functions properly. ... ok test_activation_expired (tests.test_activation_workflow.ActivationBackendViewTests.test_activation_expired) An expired account can't be activated. ... ok test_activation_signal (tests.test_activation_workflow.ActivationBackendViewTests.test_activation_signal) ... ok test_bad_key (tests.test_activation_workflow.ActivationBackendViewTests.test_bad_key) An invalid activation key fails to activate. ... ok test_nonexistent_activation (tests.test_activation_workflow.ActivationBackendViewTests.test_nonexistent_activation) A nonexistent username in an activation key will fail to ... ok test_registration (tests.test_activation_workflow.ActivationBackendViewTests.test_registration) Registration creates a new inactive account and sends an ... ok test_registration_closed (tests.test_activation_workflow.ActivationBackendViewTests.test_registration_closed) ``REGISTRATION_OPEN``, when ``False``, disallows registration. ... ok test_registration_failure (tests.test_activation_workflow.ActivationBackendViewTests.test_registration_failure) Registering with invalid data fails. ... ok test_registration_get (tests.test_activation_workflow.ActivationBackendViewTests.test_registration_get) HTTP ``GET`` to the registration view uses the appropriate ... ok test_registration_no_sites (tests.test_activation_workflow.ActivationBackendViewTests.test_registration_no_sites) Registration still functions properly when ... ok test_registration_open (tests.test_activation_workflow.ActivationBackendViewTests.test_registration_open) ``REGISTRATION_OPEN``, when ``True``, permits registration. ... ok test_registration_signal (tests.test_activation_workflow.ActivationBackendViewTests.test_registration_signal) ... ok test_repeat_activation (tests.test_activation_workflow.ActivationBackendViewTests.test_repeat_activation) Once activated, attempting to re-activate an account (even ... ok test_registration (tests.base.ActivationTestCase.test_registration) Registration creates a new inactive account and sends an ... ok test_registration_closed (tests.base.ActivationTestCase.test_registration_closed) ``REGISTRATION_OPEN``, when ``False``, disallows registration. ... ok test_registration_failure (tests.base.ActivationTestCase.test_registration_failure) Registering with invalid data fails. ... ok test_registration_get (tests.base.ActivationTestCase.test_registration_get) HTTP ``GET`` to the registration view uses the appropriate ... ok test_registration_no_sites (tests.base.ActivationTestCase.test_registration_no_sites) Registration still functions properly when ... ok test_registration_open (tests.base.ActivationTestCase.test_registration_open) ``REGISTRATION_OPEN``, when ``True``, permits registration. ... ok test_registration_signal (tests.base.ActivationTestCase.test_registration_signal) ... ok test_case_insensitive_form (tests.test_forms.RegistrationFormTests.test_case_insensitive_form) Test the case-insensitive registration form. ... ok test_case_insensitive_validator (tests.test_forms.RegistrationFormTests.test_case_insensitive_validator) Test the case-insensitive username validator. ... ok test_case_insensitive_validator_eq (tests.test_forms.RegistrationFormTests.test_case_insensitive_validator_eq) Test CaseInsensitiveUnique __eq__ method. ... ok test_confusable_emails (tests.test_forms.RegistrationFormTests.test_confusable_emails) Usernames containing dangerously confusable use of Unicode are ... ok test_confusable_usernames (tests.test_forms.RegistrationFormTests.test_confusable_usernames) Usernames containing dangerously confusable use of Unicode are ... ok test_confusables_email_validator (tests.test_forms.RegistrationFormTests.test_confusables_email_validator) Test the confusable-email validator standalone. ... ok test_confusables_validator (tests.test_forms.RegistrationFormTests.test_confusables_validator) Test the confusable-username validator standalone. ... ok test_custom_reserved_names (tests.test_forms.RegistrationFormTests.test_custom_reserved_names) Reserved names can be overridden by an attribute. ... ok test_email_required (tests.test_forms.RegistrationFormTests.test_email_required) The email address field is required. ... ok test_email_uniqueness (tests.test_forms.RegistrationFormTests.test_email_uniqueness) Email uniqueness is enforced by RegistrationFormUniqueEmail. ... ok test_email_validation (tests.test_forms.RegistrationFormTests.test_email_validation) Stricter-than-RFC email validation is applied. ... ok test_email_validator (tests.test_forms.RegistrationFormTests.test_email_validator) Test the HTMl5 email address validator. ... ok test_reserved_name_non_string (tests.test_forms.RegistrationFormTests.test_reserved_name_non_string) GitHub issue #82: reserved-name validator should not attempt ... ok test_reserved_name_validator_eq (tests.test_forms.RegistrationFormTests.test_reserved_name_validator_eq) Test ReservedNameValidator __eq__ method. ... ok test_reserved_names (tests.test_forms.RegistrationFormTests.test_reserved_names) Reserved names are disallowed. ... ok test_tos_field (tests.test_forms.RegistrationFormTests.test_tos_field) The terms-of-service field on RegistrationFormTermsOfService ... ok test_username_uniqueness (tests.test_forms.RegistrationFormTests.test_username_uniqueness) Username uniqueness is enforced. ... ok test_custom_user_configured (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_custom_user_configured) Asserts that the user model in use is the custom user model ... ok test_registration (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_registration) Registration creates a new account and logs the user in. ... ok test_registration_closed (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_registration_closed) ``REGISTRATION_OPEN``, when ``False``, disallows registration. ... ok test_registration_failure (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_registration_failure) Registering with invalid data fails. ... ok test_registration_get (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_registration_get) HTTP ``GET`` to the registration view uses the appropriate ... ok test_registration_open (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_registration_open) ``REGISTRATION_OPEN``, when ``True``, permits registration. ... ok test_registration_signal (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests.test_registration_signal) ... ok test_registration (tests.test_one_step_workflow.OneStepWorkflowViewTests.test_registration) Registration creates a new account and logs the user in. ... ok test_registration_closed (tests.test_one_step_workflow.OneStepWorkflowViewTests.test_registration_closed) ``REGISTRATION_OPEN``, when ``False``, disallows registration. ... ok test_registration_failure (tests.test_one_step_workflow.OneStepWorkflowViewTests.test_registration_failure) Registering with invalid data fails. ... ok test_registration_get (tests.test_one_step_workflow.OneStepWorkflowViewTests.test_registration_get) HTTP ``GET`` to the registration view uses the appropriate ... ok test_registration_open (tests.test_one_step_workflow.OneStepWorkflowViewTests.test_registration_open) ``REGISTRATION_OPEN``, when ``True``, permits registration. ... ok test_registration_signal (tests.test_one_step_workflow.OneStepWorkflowViewTests.test_registration_signal) ... ok test_registration (tests.base.WorkflowTestCase.test_registration) Registration creates a new account. ... ok test_registration_closed (tests.base.WorkflowTestCase.test_registration_closed) ``REGISTRATION_OPEN``, when ``False``, disallows registration. ... ok test_registration_failure (tests.base.WorkflowTestCase.test_registration_failure) Registering with invalid data fails. ... ok test_registration_get (tests.base.WorkflowTestCase.test_registration_get) HTTP ``GET`` to the registration view uses the appropriate ... ok test_registration_open (tests.base.WorkflowTestCase.test_registration_open) ``REGISTRATION_OPEN``, when ``True``, permits registration. ... ok test_registration_signal (tests.base.WorkflowTestCase.test_registration_signal) ... ok test_activation (tests.test_views.ActivationViewTests.test_activation) Activation of an account functions properly when using a ... ok test_user_mismatch_breaks_view (tests.test_views.CustomUserTests.test_user_mismatch_breaks_view) When RegistrationView detects a mismatch between the model used by ... ok test_sensitive_post_parameters_are_filtered (tests.test_views.SensitiveParameterFilterTests.test_sensitive_post_parameters_are_filtered) When an unexpected exception occurs during a POST request to the ... ok ---------------------------------------------------------------------- Ran 73 tests in 3.135s OK Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... dh_auto_test: error: pybuild --test -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 --------------------------------------------------------------------------------

