Package: src:python-django-mptt Version: 0.18-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-mptt, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf build find mptt/ -type f -name django.mo -delete dh_auto_clean make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild [... snipped ...] ^^^^^^^^^ ...<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 ---------------------------------------------------------------------- Ran 124 tests in 3.471s FAILED (errors=2, skipped=4, expected failures=1) Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-mptt/build; PYTHONPATH=.:tests {interpreter} /usr/bin/django-admin test --settings=settings --verbosity 2 --traceback myapp I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-mptt/build; PYTHONPATH=.:tests python3.13 /usr/bin/django-admin test --settings=settings --verbosity 2 --traceback myapp Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Found 124 test(s). Operations to perform: Synchronize unmigrated apps: messages, mptt, myapp, staticfiles Apply all migrations: admin, auth, contenttypes, sessions Synchronizing apps without migrations: Creating tables... Creating table myapp_category Creating table myapp_item Creating table myapp_subitem Creating table myapp_genre Creating table myapp_game Creating table myapp_insert Creating table myapp_multiorder Creating table myapp_node Creating table myapp_uuidnode Creating table myapp_orderedinsertion Creating table myapp_tree Creating table myapp_newstylempttmeta Creating table myapp_person Creating table myapp_student Creating table myapp_custompkname Creating table myapp_referencingmodel Creating table myapp_multitableinheritancea1 Creating table myapp_multitableinheritancea2 Creating table myapp_multitableinheritanceb1 Creating table myapp_multitableinheritanceb2 Creating table myapp_concretemodel Creating table myapp_concreteabstractconcreteabstract Creating table myapp_concreteconcrete Creating table myapp_swappedinmodel Creating table myapp_multiplemanagermodel Creating table myapp_autonowdatefieldmodel Creating table myapp_group Creating table myapp_book Creating table myapp_uniquetogethermodel Creating table myapp_nullableorderedinsertionmodel Creating table myapp_nullabledescorderedinsertionmodel Creating table myapp_notconcretefieldmodel Creating table myapp_customparentattrmodel Running deferred SQL... Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying admin.0003_logentry_add_action_flag_choices... OK Applying contenttypes.0002_remove_content_type_name... 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 sessions.0001_initial... OK System check identified no issues (0 silenced). test_adminform_instantiation (myapp.test_forms.TestForms.test_adminform_instantiation) ... ok test_field_types (myapp.test_forms.TestForms.test_field_types) ... ok test_movenodeform (myapp.test_forms.TestForms.test_movenodeform) ... ok test_movenodeform_save (myapp.test_forms.TestForms.test_movenodeform_save) ... ok test_treenodechoicefield (myapp.test_forms.TestForms.test_treenodechoicefield) ... ok test_treenodechoicefield_level_indicator (myapp.test_forms.TestForms.test_treenodechoicefield_level_indicator) ... ok test_treenodechoicefield_relative_level (myapp.test_forms.TestForms.test_treenodechoicefield_relative_level) ... ok test_changelist (myapp.tests.AdminBatch.test_changelist) ... ok test_create_by_bakery (myapp.tests.BakeryTest.test_create_by_bakery) ... ok test_create_by_bakery_exception (myapp.tests.BakeryTest.test_create_by_bakery_exception) ... ok test_bulk_last_child (myapp.tests.BulkLoadTests.test_bulk_last_child) ... ok test_bulk_left (myapp.tests.BulkLoadTests.test_bulk_left) ... ok test_bulk_root (myapp.tests.BulkLoadTests.test_bulk_root) ... ok test_genre_iter (myapp.tests.CacheChildrenTestCase.test_genre_iter) Test a query with two root nodes. ... ok test_hide_nodes (myapp.tests.CacheChildrenTestCase.test_hide_nodes) Test that caching a tree with missing nodes works ... expected failure test_nodes_from_different_trees (myapp.tests.CacheChildrenTestCase.test_nodes_from_different_trees) Ensure that get_cached_trees returns correct tree even if multiple trees are given ... ok test_value_error_on_wrong_order (myapp.tests.CacheChildrenTestCase.test_value_error_on_wrong_order) ... ok test_cache_tree_children_caches_parents (myapp.tests.CacheTreeChildrenTestCase.test_cache_tree_children_caches_parents) Ensures that each node's parent is cached by ``cache_tree_children``. ... ok test_cache_tree_children_with_invalid_ordering (myapp.tests.CacheTreeChildrenTestCase.test_cache_tree_children_with_invalid_ordering) Ensures that ``cache_tree_children`` fails with a ``ValueError`` when ... ok test_node_save_after_tree_restructuring (myapp.tests.ConcurrencyTestCase.test_node_save_after_tree_restructuring) ... ok test_node_save_after_tree_restructuring_with_update_fields (myapp.tests.ConcurrencyTestCase.test_node_save_after_tree_restructuring_with_update_fields) Test that model is saved properly when passing update_fields ... ok test_update_fields_positional (myapp.tests.ConcurrencyTestCase.test_update_fields_positional) Test that update_fields works as a positional argument ... ok test_get_next_sibling (myapp.tests.CustomPKNameTestCase.test_get_next_sibling) ... ok test_rebuild (myapp.tests.CustomParentAttrModelTestCase.test_rebuild) ... ok test_deferred_cached_field_change (myapp.tests.DeferredAttributeTests.test_deferred_cached_field_change) ... ok test_deferred_cached_field_undeferred (myapp.tests.DeferredAttributeTests.test_deferred_cached_field_undeferred) ... ok test_deferred_order_insertion_by (myapp.tests.DeferredAttributeTests.test_deferred_order_insertion_by) ... ok test_double_context_manager (myapp.tests.DelayedUpdatesTestCase.test_double_context_manager) ... ok test_insert_child (myapp.tests.DelayedUpdatesTestCase.test_insert_child) ... ok test_insert_root (myapp.tests.DelayedUpdatesTestCase.test_insert_root) ... ok test_move_node_different_tree (myapp.tests.DelayedUpdatesTestCase.test_move_node_different_tree) ... ok test_move_node_same_tree (myapp.tests.DelayedUpdatesTestCase.test_move_node_same_tree) ... ok test_move_node_to_root (myapp.tests.DelayedUpdatesTestCase.test_move_node_to_root) ... ok test_move_root_to_child (myapp.tests.DelayedUpdatesTestCase.test_move_root_to_child) ... ok test_proxy (myapp.tests.DelayedUpdatesTestCase.test_proxy) ... ok test_delete_last_node_with_descendants (myapp.tests.DeletionTestCase.test_delete_last_node_with_descendants) ... ok test_delete_last_node_with_siblings (myapp.tests.DeletionTestCase.test_delete_last_node_with_siblings) ... ok test_delete_multiple_nodes (myapp.tests.DeletionTestCase.test_delete_multiple_nodes) Regression test for Issue 576. ... ok test_delete_node_with_descendants_and_siblings (myapp.tests.DeletionTestCase.test_delete_node_with_descendants_and_siblings) Regression test for Issue 23 - we used to use pre_delete, which ... ok test_delete_node_with_siblings (myapp.tests.DeletionTestCase.test_delete_node_with_siblings) ... ok test_delete_root_node (myapp.tests.DeletionTestCase.test_delete_root_node) ... ok test_assignment (myapp.tests.DirectParentAssignment.test_assignment) Regression test for #428 ... ok test_double_proxy (myapp.tests.DisabledUpdatesTestCase.test_double_proxy) ... ok test_insert_child (myapp.tests.DisabledUpdatesTestCase.test_insert_child) ... ok test_insert_root (myapp.tests.DisabledUpdatesTestCase.test_insert_root) ... ok test_move_node_different_tree (myapp.tests.DisabledUpdatesTestCase.test_move_node_different_tree) ... ok test_move_node_same_tree (myapp.tests.DisabledUpdatesTestCase.test_move_node_same_tree) ... ok test_move_node_to_root (myapp.tests.DisabledUpdatesTestCase.test_move_node_to_root) ... ok test_move_root_to_child (myapp.tests.DisabledUpdatesTestCase.test_move_root_to_child) ... ok test_single_proxy (myapp.tests.DisabledUpdatesTestCase.test_single_proxy) ... ok test_run_doctest (myapp.tests.DocTestTestCase.test_run_doctest) ... ok test_changelist (myapp.tests.DraggableMPTTAdminTestCase.test_changelist) ... ok test_drilldown_html (myapp.tests.DrilldownTreeTestCase.test_drilldown_html) ... ok test_get_level_indicator (myapp.tests.FormTests.test_get_level_indicator) ... ok test_label_from_instance (myapp.tests.FormTests.test_label_from_instance) ... ok test_full_tree_html (myapp.tests.FullTreeTestCase.test_full_tree_html) ... ok test_treerelatedfieldlistfilter_foreignkey (myapp.tests.ListFiltersTests.test_treerelatedfieldlistfilter_foreignkey) ... ok test_treerelatedfieldlistfilter_manytomany (myapp.tests.ListFiltersTests.test_treerelatedfieldlistfilter_manytomany) ... ok test_treerelatedfieldlistfilter_reverse_relationships (myapp.tests.ListFiltersTests.test_treerelatedfieldlistfilter_reverse_relationships) ... ok test_all_managers_are_different (myapp.tests.ManagerTests.test_all_managers_are_different) ... ok test_all_managers_have_correct_model (myapp.tests.ManagerTests.test_all_managers_have_correct_model) ... ok test_base_manager_infinite_recursion (myapp.tests.ManagerTests.test_base_manager_infinite_recursion) ... ok test_custom_querysets (myapp.tests.ManagerTests.test_custom_querysets) Test that a custom manager also provides custom querysets. ... ok test_default_manager_with_multiple_managers (myapp.tests.ManagerTests.test_default_manager_with_multiple_managers) Test that a model with multiple managers defined always uses the ... ok test_get_queryset_ancestors (myapp.tests.ManagerTests.test_get_queryset_ancestors) ... ok test_get_queryset_ancestors_regression_379 (myapp.tests.ManagerTests.test_get_queryset_ancestors_regression_379) ... ok test_get_queryset_descendants (myapp.tests.ManagerTests.test_get_queryset_descendants) ... ok test_manager_from_custom_queryset (myapp.tests.ManagerTests.test_manager_from_custom_queryset) Test that a manager created from a custom queryset works. ... ok test_manager_multi_table_inheritance (myapp.tests.ManagerTests.test_manager_multi_table_inheritance) ... ok test_num_queries_on_get_queryset_descendants (myapp.tests.ManagerTests.test_num_queries_on_get_queryset_descendants) Test the number of queries to access descendants ... ok test_proxy_custom_manager (myapp.tests.ManagerTests.test_proxy_custom_manager) ... ok test_index_together_different_attr (myapp.tests.ModelMetaIndexes.test_index_together_different_attr) ... ok test_indexes (myapp.tests.ModelMetaIndexes.test_indexes) ... ok test_no_index_set (myapp.tests.ModelMetaIndexes.test_no_index_set) ... ok test_get_user_field_names_with_not_concrete_fields (myapp.tests.ModelMetaTests.test_get_user_field_names_with_not_concrete_fields) Make sure _get_user_field_names only returns concrete fields ... ok test_unique_together_move_to_same_code_change_parent (myapp.tests.MovingNodeWithUniqueConstraint.test_unique_together_move_to_same_code_change_parent) Regression test for #466 1 ... ok test_unique_together_move_to_same_parent_change_code (myapp.tests.MovingNodeWithUniqueConstraint.test_unique_together_move_to_same_parent_change_code) Regression test for #466 1 ... ok test_nullable_ordered_insertion (myapp.tests.NullableOrderedInsertion.test_nullable_ordered_insertion) ... ok test_nullable_ordered_insertion_desc (myapp.tests.NullableOrderedInsertion.test_nullable_ordered_insertion_desc) ... ok test_insert_child (myapp.tests.OrderedInsertionDelayedUpdatesTestCase.test_insert_child) ... ok test_insert_root (myapp.tests.OrderedInsertionDelayedUpdatesTestCase.test_insert_root) ... ok test_move_node_different_tree (myapp.tests.OrderedInsertionDelayedUpdatesTestCase.test_move_node_different_tree) ... ok test_move_node_same_tree (myapp.tests.OrderedInsertionDelayedUpdatesTestCase.test_move_node_same_tree) ... ok test_move_node_to_root (myapp.tests.OrderedInsertionDelayedUpdatesTestCase.test_move_node_to_root) ... ok test_move_root_to_child (myapp.tests.OrderedInsertionDelayedUpdatesTestCase.test_move_root_to_child) ... ok test_insert_unordered_stuff (myapp.tests.OrderedInsertionSortingTestCase.test_insert_unordered_stuff) ... ok test_as_manager (myapp.tests.QuerySetTests.test_as_manager) ... ok test_get_ancestors (myapp.tests.QuerySetTests.test_get_ancestors) ... ok test_get_descendants (myapp.tests.QuerySetTests.test_get_descendants) ... ok test_cached_ancestors (myapp.tests.RecurseTreeTestCase.test_cached_ancestors) ... ok test_leaf_html (myapp.tests.RecurseTreeTestCase.test_leaf_html) ... ok test_nonleaf_html (myapp.tests.RecurseTreeTestCase.test_nonleaf_html) ... ok test_parsing_fail (myapp.tests.RecurseTreeTestCase.test_parsing_fail) ... ok test_save_registered_model (myapp.tests.RegisteredRemoteModel.test_save_registered_model) ... ok test_invalid_moves (myapp.tests.ReparentingTestCase.test_invalid_moves) ... ok test_move_child_up_level (myapp.tests.ReparentingTestCase.test_move_child_up_level) ... ok test_move_leaf_to_other_tree (myapp.tests.ReparentingTestCase.test_move_leaf_to_other_tree) ... ok test_move_subtree_down_level (myapp.tests.ReparentingTestCase.test_move_subtree_down_level) ... ok test_move_subtree_to_other_tree (myapp.tests.ReparentingTestCase.test_move_subtree_to_other_tree) ... ok test_move_to (myapp.tests.ReparentingTestCase.test_move_to) ... ok test_new_child_from_root (myapp.tests.ReparentingTestCase.test_new_child_from_root) ... ok test_new_root_from_leaf_with_siblings (myapp.tests.ReparentingTestCase.test_new_root_from_leaf_with_siblings) ... ok test_new_root_from_subtree (myapp.tests.ReparentingTestCase.test_new_root_from_subtree) ... ok test_move_by_changing_parent_should_send_signal (myapp.tests.Signals.test_move_by_changing_parent_should_send_signal) position is not set when sent from save(). I assume it ... skipped 'Signals tests require mock_django installed' test_move_by_using_move_to_should_send_signal (myapp.tests.Signals.test_move_by_using_move_to_should_send_signal) ... skipped 'Signals tests require mock_django installed' test_signal_should_not_be_sent_when_model_created (myapp.tests.Signals.test_signal_should_not_be_sent_when_model_created) ... skipped 'Signals tests require mock_django installed' test_signal_should_not_be_sent_when_parent_hasnt_changed (myapp.tests.Signals.test_signal_should_not_be_sent_when_parent_hasnt_changed) ... skipped 'Signals tests require mock_django installed' test_alters_data (myapp.tests.TestAltersData.test_alters_data) ... ok test_save_auto_now_date_field_model (myapp.tests.TestAutoNowDateFieldModel.test_save_auto_now_date_field_model) ... ok test_debug_info (myapp.tests.TestDebugInfo.test_debug_info) ... ok test_debug_info_with_non_ascii_representations (myapp.tests.TestDebugInfo.test_debug_info_with_non_ascii_representations) ... ok test_insert_ordered_BFS_backwards_nonroot_nodes (myapp.tests.TestOrderedInsertionBFS.test_insert_ordered_BFS_backwards_nonroot_nodes) ... ok test_insert_ordered_BFS_backwards_root_nodes (myapp.tests.TestOrderedInsertionBFS.test_insert_ordered_BFS_backwards_root_nodes) ... ok test_insert_ordered_DFS_backwards_nonroot_nodes (myapp.tests.TestOrderedInsertionBFS.test_insert_ordered_DFS_backwards_nonroot_nodes) ... ok test_insert_ordered_DFS_backwards_root_nodes (myapp.tests.TestOrderedInsertionBFS.test_insert_ordered_DFS_backwards_root_nodes) ... ok test_unsaved (myapp.tests.TestUnsaved.test_unsaved) ... ok test_tree_info_html (myapp.tests.TreeInfoTestCase.test_tree_info_html) ... ok test_add_related_count_multistep (myapp.tests.TreeManagerTestCase.test_add_related_count_multistep) ... ok test_add_related_count_with_extra_filters (myapp.tests.TreeManagerTestCase.test_add_related_count_with_extra_filters) Test that filtering by extra_filters works ... ok test_add_related_count_with_fk_to_natural_key (myapp.tests.TreeManagerTestCase.test_add_related_count_with_fk_to_natural_key) ... ok test_move_child_node (myapp.tests.UUIDPrimaryKey.test_move_child_node) ... ok test_move_root_node (myapp.tests.UUIDPrimaryKey.test_move_root_node) ... ok test_move_uuid_node (myapp.tests.UUIDPrimaryKey.test_move_uuid_node) ... ok test_save_uuid_model (myapp.tests.UUIDPrimaryKey.test_save_uuid_model) ... ok ---------------------------------------------------------------------- Ran 124 tests in 3.344s OK (skipped=4, expected failures=1) 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:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

