Package: src:python-django-extensions Version: 4.1-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/202601/ 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-extensions, 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 dh_autoreconf_clean -O--buildsystem=pybuild debian/rules execute_before_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf docs/.build docs/images rm -f django_extensions/locale/*/LC_MESSAGES/django.mo make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild [... snipped ...] self = <tests.templatetags.test_highlighting.HighlightTagTests testMethod=test_should_highlight_python_syntax_with_name> def test_should_highlight_python_syntax_with_name(self): content = """{% load highlighting %} {% highlight 'python' 'Excerpt: blah.py' %} def need_food(self): print("Love is colder than death") {% endhighlight %}""" expected_result = """<div class="predesc"><span>Excerpt: blah.py</span></div><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">need_food</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Love is colder than death"</span><span class="p">)</span> </pre></div>""" result = Template(content).render(self.ctx) > self.assertHTMLEqual(result, expected_result) tests/templatetags/test_highlighting.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/testcases.py:1044: in assertHTMLEqual self.fail(self._formatMessage(msg, standardMsg)) E AssertionError: <div class="predesc"> E <span> E Excerpt: blah.py E </span> E </div><div class="highligh [truncated]... != <div class="predesc"> E <span> E Excerpt: blah.py E </span> E </div><div class="highligh [truncated]... E <div class="predesc"> E <span> E Excerpt: blah.py E </span> E </div><div class="highlight"> E <pre> E <span><span class="k"> E def E - </span><span class="w"><span class="nf"> E ? ---------------- E E + </span><span class="nf"> E need_food E </span><span class="p"> E ( E </span><span class="bp"> E self E </span><span class="p"> E ): E </span><span class="nb"> E print E </span><span class="p"> E ( E </span><span class="s2"> E "Love is colder than death" E </span><span class="p"> E ) E </span> E </pre> E </div> =============================== 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( tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_migration_is_not_squashed /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6bb508e0> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_migration_is_not_squashed /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6c905930> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_migration_is_not_squashed /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6b9fca30> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_migration_is_not_squashed /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6b9fdff0> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_more_than_one_migration_matches_to_given_arg tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_squashed_migration_not_found tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_squashed_migration_not_foundee tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandError_if_app_does_not_have_migrations tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandError_when_database_does_not_exist tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsTests::test_should_delete_squashed_migrations tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsTests::test_should_delete_squashed_migrations_if_interactive_mode_is_set_to_False tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsTests::test_should_not_delete_anything tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsTests::test_should_not_delete_files_for_given_squashed_migration /usr/lib/python3/dist-packages/django/db/models/base.py:366: RuntimeWarning: Model 'testapp_with_appconfig.titlemodel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandEror_if_squashed_migration_not_found tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsTests::test_should_delete_squashed_migrations_if_interactive_mode_is_set_to_False tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsTests::test_should_not_delete_files_for_given_squashed_migration /usr/lib/python3/dist-packages/django/db/models/base.py:366: RuntimeWarning: Model 'testapp_with_appconfig.namemodel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandError_when_database_does_not_exist /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6bb50250> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_delete_squashed_migrations.py::DeleteSquashedMigrationsExceptionsTests::test_should_raise_CommandError_when_database_does_not_exist /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6bb50280> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_describe_form.py::DescribeFormTests::test_should_print_form_definition_for_TestModel_with_non_editable_field tests/management/commands/test_describe_form.py::DescribeFormTests::test_should_print_form_with_fields_for_TestModel /usr/lib/python3/dist-packages/django/db/models/base.py:366: RuntimeWarning: Model 'testapp.basemodel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) tests/management/commands/test_describe_form.py::DescribeFormTests::test_should_print_form_definition_for_TestModel_with_non_editable_field tests/management/commands/test_describe_form.py::DescribeFormTests::test_should_print_form_with_fields_for_TestModel /usr/lib/python3/dist-packages/django/db/models/base.py:366: RuntimeWarning: Model 'testapp.noneditablemodel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) tests/management/commands/test_drop_test_database.py: 11 warnings tests/management/commands/test_reset_db.py: 3 warnings tests/management/commands/test_reset_schema.py: 1 warning tests/management/commands/test_sqlcreate.py: 6 warnings tests/management/commands/test_sqldsn.py: 13 warnings /usr/lib/python3/dist-packages/django/test/utils.py:458: UserWarning: Overriding setting DATABASES can lead to unexpected behavior. with self as context: tests/management/commands/test_list_signals.py::ListSignalsTests::test_should_print_all_signals /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extensions/build/tests/management/commands/test_list_signals.py:29: DeprecationWarning: 'count' is passed as positional argument out = re.sub(r"(?<=#)\d+", "", self.out.getvalue(), re.M) tests/management/commands/test_reset_db.py::ResetDbSqlite3Tests::test_should_cancel_reset_db_if_input_is_different_than_yes tests/management/commands/test_reset_db.py::ResetDbMysqlTests::test_should_cancel_reset_db_if_input_is_different_than_yes tests/management/commands/test_reset_db.py::ResetDbPostgresqlTests::test_should_cancel_reset_db_if_input_is_different_than_yes tests/management/commands/test_reset_schema.py::ResetSchemaTests::test_should_cancel_reset_schema_and_print_info_if_input_is_different_than_yes /usr/lib/python3/dist-packages/django/test/testcases.py:1448: UserWarning: Overriding setting DATABASES can lead to unexpected behavior. super().setUpClass() tests/management/commands/test_update_permissions.py::UpdatePermissionsTests::test_should_reload_permission_only_for_specified_apps tests/management/commands/test_update_permissions.py::UpdatePermissionsTests::test_should_update_permission_if_name_changed tests/management/commands/test_update_permissions.py::UpdatePermissionsTests::test_works /usr/lib/python3/dist-packages/django/db/models/base.py:366: RuntimeWarning: Model 'django_extensions.permmodel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) tests/management/commands/test_update_permissions.py::UpdatePermissionsTests::test_should_reload_permission_only_for_specified_apps tests/management/commands/test_update_permissions.py::UpdatePermissionsTests::test_should_update_permission_if_name_changed tests/management/commands/test_update_permissions.py::UpdatePermissionsTests::test_works /usr/lib/python3/dist-packages/django/db/models/base.py:366: RuntimeWarning: Model 'testapp.testmodel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models. new_class._meta.apps.register_model(new_class._meta.app_label, new_class) tests/test_randomchar_field.py::RandomCharFieldTest::testRandomCharTestModelAsserts /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6ceacc10> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_generate_password.py::test_without_args /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6b6c3280> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_generate_password.py::test_without_args /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <django.core.management.base.OutputWrapper object at 0x7f2a6b6c36d0> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 170, in flush self._out.flush() ~~~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/management/commands/test_print_settings.py::test_without_args tests/management/commands/test_print_settings.py::test_with_setting_args tests/management/commands/test_print_settings.py::test_with_setting_wildcard tests/management/commands/test_print_settings.py::test_with_setting_fail tests/management/commands/test_print_settings.py::test_with_multiple_setting_args tests/management/commands/test_print_settings.py::test_format tests/management/commands/test_print_settings.py::test_format_json_without_indent /usr/lib/python3/dist-packages/django/conf/__init__.py:193: RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead. self._show_deprecation_warning( tests/management/commands/test_print_settings.py::test_without_args tests/management/commands/test_print_settings.py::test_with_setting_args tests/management/commands/test_print_settings.py::test_with_setting_wildcard tests/management/commands/test_print_settings.py::test_with_setting_fail tests/management/commands/test_print_settings.py::test_with_multiple_setting_args tests/management/commands/test_print_settings.py::test_format tests/management/commands/test_print_settings.py::test_format_json_without_indent /usr/lib/python3/dist-packages/django/conf/__init__.py:201: RemovedInDjango51Warning: The STATICFILES_STORAGE setting is deprecated. Use STORAGES instead. self._show_deprecation_warning( tests/management/commands/test_print_settings.py::test_without_args tests/management/commands/test_print_settings.py::test_with_setting_args tests/management/commands/test_print_settings.py::test_with_setting_wildcard tests/management/commands/test_print_settings.py::test_with_setting_fail tests/management/commands/test_print_settings.py::test_with_multiple_setting_args tests/management/commands/test_print_settings.py::test_format tests/management/commands/test_print_settings.py::test_format_json_without_indent /usr/lib/python3/dist-packages/django/conf/__init__.py:178: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale. self._show_deprecation_warning( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/templatetags/test_highlighting.py::HighlightTagTests::test_should_highlight_python_syntax_with_name = 1 failed, 509 passed, 4 skipped, 9 xfailed, 6 xpassed, 92 warnings in 7.11s == E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-extensions/build; python3.13 -m pytest --no-cov django_extensions tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

