Source: python-apptools Version: 5.1.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230101 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > xvfb-run -a dh_auto_test > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build; python3.11 -m nose -v > test_auto_flush > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_auto_flush) ... ok > test_auto_flush_off > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_auto_flush_off) > ... ok > test_basic_dtypes > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_basic_dtypes) ... > ok > test_create > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_create) ... ok > test_create_with_array_data > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_create_with_array_data) > ... ok > test_create_with_data > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_create_with_data) > ... ok > test_delete_array > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_delete_array) ... > ok > test_delete_item > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_delete_item) ... ok > test_dict (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_dict) > ... ok > test_is_dict_node > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_is_dict_node) ... > ok > test_is_not_dict_node > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_is_not_dict_node) > ... ok > test_keys (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_keys) > ... ok > test_load_saved_dict_node > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_load_saved_dict_node) > ... ok > test_load_saved_dict_node_with_array > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_load_saved_dict_node_with_array) > ... ok > test_mixed_type_list > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_mixed_type_list) > ... ok > test_undefined_key > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_undefined_key) ... > ok > test_wrap_self_raises_error > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase.test_wrap_self_raises_error) > ... ok > test_attribute_iteration_methods > (apptools.io.h5.tests.test_file.FileTestCase.test_attribute_iteration_methods) > ... ok > test_attribute_translation > (apptools.io.h5.tests.test_file.FileTestCase.test_attribute_translation) ... > ok > test_attribute_update > (apptools.io.h5.tests.test_file.FileTestCase.test_attribute_update) ... ok > test_auto_groups > (apptools.io.h5.tests.test_file.FileTestCase.test_auto_groups) ... ok > test_auto_groups_deep > (apptools.io.h5.tests.test_file.FileTestCase.test_auto_groups_deep) ... ok > test_bad_group_name > (apptools.io.h5.tests.test_file.FileTestCase.test_bad_group_name) ... ok > test_bad_node_name > (apptools.io.h5.tests.test_file.FileTestCase.test_bad_node_name) ... ok > test_cleanup (apptools.io.h5.tests.test_file.FileTestCase.test_cleanup) ... ok > test_create_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_array_with_H5File) > ... ok > test_create_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_array_with_H5Group) > ... ok > test_create_chunked_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_chunked_array_with_H5File) > ... ok > test_create_chunked_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_chunked_array_with_H5Group) > ... ok > test_create_dict_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_dict_with_H5File) > ... ok > test_create_dict_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_dict_with_H5Group) > ... ok > test_create_duplicate_array_raises > (apptools.io.h5.tests.test_file.FileTestCase.test_create_duplicate_array_raises) > ... ok > test_create_extendable_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_extendable_array_with_H5File) > ... ok > test_create_extendable_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_extendable_array_with_H5Group) > ... ok > test_create_group_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_group_with_H5File) > ... ok > test_create_group_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_group_with_H5Group) > ... ok > test_create_plain_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_plain_array_with_H5File) > ... ok > test_create_plain_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_plain_array_with_H5Group) > ... ok > test_create_table_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_create_table_with_H5File) > ... ok > test_create_table_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_create_table_with_H5Group) > ... ok > test_del_attribute > (apptools.io.h5.tests.test_file.FileTestCase.test_del_attribute) ... ok > test_delete_existing_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_array_with_H5File) > ... ok > test_delete_existing_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_array_with_H5Group) > ... ok > test_delete_existing_dict_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_dict_with_H5File) > ... ok > test_delete_existing_dict_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_dict_with_H5Group) > ... ok > test_delete_existing_group_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_group_with_H5File) > ... ok > test_delete_existing_group_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_group_with_H5Group) > ... ok > test_delete_existing_table_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_table_with_H5File) > ... ok > test_delete_existing_table_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_delete_existing_table_with_H5Group) > ... ok > test_get_attribute > (apptools.io.h5.tests.test_file.FileTestCase.test_get_attribute) ... ok > test_get_attribute_default > (apptools.io.h5.tests.test_file.FileTestCase.test_get_attribute_default) ... > ok > test_getitem_failure > (apptools.io.h5.tests.test_file.FileTestCase.test_getitem_failure) ... ok > test_group_attributes > (apptools.io.h5.tests.test_file.FileTestCase.test_group_attributes) ... ok > test_group_properties > (apptools.io.h5.tests.test_file.FileTestCase.test_group_properties) ... ok > test_group_str_and_repr > (apptools.io.h5.tests.test_file.FileTestCase.test_group_str_and_repr) ... ok > test_groups (apptools.io.h5.tests.test_file.FileTestCase.test_groups) ... ok > test_iter_groups > (apptools.io.h5.tests.test_file.FileTestCase.test_iter_groups) ... ok > test_iteritems (apptools.io.h5.tests.test_file.FileTestCase.test_iteritems) > ... ok > test_join_path (apptools.io.h5.tests.test_file.FileTestCase.test_join_path) > ... ok > test_mapping_interface_for_file > (apptools.io.h5.tests.test_file.FileTestCase.test_mapping_interface_for_file) > ... ok > test_mapping_interface_for_group > (apptools.io.h5.tests.test_file.FileTestCase.test_mapping_interface_for_group) > ... ok > test_open_from_closed_pytables_object > (apptools.io.h5.tests.test_file.FileTestCase.test_open_from_closed_pytables_object) > ... ok > test_open_from_pytables_object > (apptools.io.h5.tests.test_file.FileTestCase.test_open_from_pytables_object) > ... ok > test_read_mode_raises_on_nonexistent_file > (apptools.io.h5.tests.test_file.FileTestCase.test_read_mode_raises_on_nonexistent_file) > ... ok > test_remove_group_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_remove_group_with_H5File) > ... ok > test_remove_group_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_remove_group_with_H5Group) > ... ok > test_remove_group_with_remove_node > (apptools.io.h5.tests.test_file.FileTestCase.test_remove_group_with_remove_node) > ... ok > test_remove_node_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase.test_remove_node_with_H5File) > ... ok > test_remove_node_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase.test_remove_node_with_H5Group) > ... ok > test_reopen (apptools.io.h5.tests.test_file.FileTestCase.test_reopen) ... ok > test_shape_and_dtype > (apptools.io.h5.tests.test_file.FileTestCase.test_shape_and_dtype) ... ok > test_shape_only_raises > (apptools.io.h5.tests.test_file.FileTestCase.test_shape_only_raises) ... ok > test_split_path (apptools.io.h5.tests.test_file.FileTestCase.test_split_path) > ... ok > test_str_and_repr > (apptools.io.h5.tests.test_file.FileTestCase.test_str_and_repr) ... ok > test_basics > (apptools.io.h5.tests.test_table_node.TableNodeTestCase.test_basics) ... ok > test_getitem > (apptools.io.h5.tests.test_table_node.TableNodeTestCase.test_getitem) ... ok > test_keys (apptools.io.h5.tests.test_table_node.TableNodeTestCase.test_keys) > ... ok > test_to_dataframe > (apptools.io.h5.tests.test_table_node.TableNodeTestCase.test_to_dataframe) > ... ok > file copy ... ok > file creation ... ok > file deletion ... ok > file properties ... ok > folder copy ... ok > folder creation ... ok > nested folder creation ... ok > folder deletion ... ok > folder properties ... ok > test_attaching_single_project > (apptools.logger.agent.tests.test_attachments.AttachmentsTestCase.test_attaching_single_project) > ... ok > test_attaching_workspace > (apptools.logger.agent.tests.test_attachments.AttachmentsTestCase.test_attaching_workspace) > ... ok > test_create_email_message > (apptools.logger.plugin.tests.test_logger_service.LoggerServiceTestCase.test_create_email_message) > ... ok > test_create_email_message_with_user_data > (apptools.logger.plugin.tests.test_logger_service.LoggerServiceTestCase.test_create_email_message_with_user_data) > ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > get attributes ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > get and set attributes ... ok > context unbind ... ok > test_save_load_roundtrip > (apptools.naming.tests.test_object_serializer.TestObjectSerializer.test_save_load_roundtrip) > ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > pyfs context bind ... ok > pyfs context create sub-context ... ok > single context destroy sub-context ... ok > get attributes ... ok > initialization of an existing context ... ok > initialization with empty environmentt ... ok > pyfs context lookup ... ok > get the name of a context within its namespace. ... ok > pyfs context rebind ... ok > multi-context rename ... ok > get and set attributes ... ok > pyfs context unbind ... ok > test_unpickled_class_mapping > (apptools.persistence.tests.test_class_mapping.ClassMappingTestCase.test_unpickled_class_mapping) > ... ok > Test if absolute paths are set corectly. ... ok > Test if pickler works correctly with FilePaths. ... ok > Test if relative paths are set correctly. ... ok > Validates that only existing setstate methods are called when ... ok > Test if dump can take a str as file ... ok > Test if get_pure_state is called first. ... ok > test_get_state_on_tuple_with_numeric_references > (apptools.persistence.tests.test_state_pickler.TestDictPickler.test_get_state_on_tuple_with_numeric_references) > ... ok > Test to check has_instance correctness. ... ok > Test if classic classes can be pickled. ... ok > Test if traited classes can be pickled. ... ok > Test if reference cycles are handled when setting the state. ... ok > Test if the state can be saved like the object itself. ... ok > Test some of the features of the set_state method. ... ok > Test if classic classes' state can be set. ... ok > Test if traited classes' state can be set. ... ok > Test if classic classes can be unpickled. ... ok > Test if traited classes can be unpickled. ... ok > test_generic > (apptools.persistence.tests.test_two_stage_unpickler.GenericTestCase.test_generic) > ... ok > test_toy_app > (apptools.persistence.tests.test_two_stage_unpickler.ToyAppTestCase.test_toy_app) > ... ok > Test the get_version function. ... ERROR > Test if the registry is reload safe. ... ok > Test if update method calls the handlers in order. ... ERROR > Test applying the preferences ... ok > Test _items traits from List mutation are skipped. ... ok > Test sychronizing trait with name *_items not to be mistaken ... ok > instance scope preferences path ... ok > explicit preferences ... ok > load and save ... ok > nested set in trait change handler ... ok > preference binding ... ok > test_trait_name_different_to_preference_name > (apptools.preferences.tests.test_preference_binding.PreferenceBindingTestCase.test_trait_name_different_to_preference_name) > ... ok > add listener ... ok > clear ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > load ... ok > load with filename trait set ... ok > node ... ok > node exists ... ok > node names ... ok > package global default preferences ... ok > remove ... ok > remove listener ... ok > save ... ok > set with same value ... ok > class scope preferences path ... ok > default values ... ok > instance scope preferences path ... ok > Mutated list should be saved and _items events not to be ... ok > nested set in trait change handler ... ok > no preferences path ... ok > preference not in file ... ok > preferences node changed ... ok > Test with real life unicode values ... ok > scoped preferences ... ok > Test sychronizing trait with name *_items which is a normal trait ... ok > sync trait ... ok > unevaluated strings ... ok > load from file ... ok > load from filename ... ok > load multiple files ... ok > save ... ok > add listener ... ok > clear ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > load ... ok > load with filename trait set ... ok > node ... ok > node exists ... ok > node names ... ok > package global default preferences ... ok > remove ... ok > remove listener ... ok > save ... ok > set with same value ... ok > test_ability_to_specify_primary_scope > (apptools.preferences.tests.test_scoped_preferences.ScopedPreferencesTestCase.test_ability_to_specify_primary_scope) > ... ok > add listener ... ok > add listener in specific scope. ... ok > builtin scopes ... ok > clear ... ok > clear in specific scope ... ok > default lookup order ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set in specific scope ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > keys in specific scope ... ok > load ... ok > load with filename trait set ... ok > lookup order ... ok > node ... ok > node exists ... ok > node exists ... ok > node in specific scope ... ok > node names ... ok > node names in specific scope ... ok > non existent scope ... ok > package global default preferences ... ok > remove ... ok > remove in specific scope ... ok > remove listener ... ok > remove listener in specific scope. ... ok > save ... ok > set with same value ... ok > Test the clear method. ... ok > Is the object imported and created if unknown? ... ok > Test if a list item is changed does the change get recorded. ... ok > Can classes not using traits be handled? ... ok > Does the object path update when a list has changed? ... ok > Does recording work correctly. ... ok > See if recordable function calls are handled correctly. ... ok > Does recording work right when a trait is replaced. ... ok > Test if recorder trait is set and private traits are ignored. ... ok > Test if saving tape to file works. ... ok > Test if setting script_id at registration time works. ... ok > Does the get_unique_id method work. ... ok > Test the write_script_id_in_namespace method. ... ok > test_list_selection > (apptools.selection.tests.test_list_selection.TestListSelection.test_list_selection) > ... ok > test_list_selection_of_numpy_array_items > (apptools.selection.tests.test_list_selection.TestListSelection.test_list_selection_of_numpy_array_items) > ... ok > test_list_selection_of_sequence_items > (apptools.selection.tests.test_list_selection.TestListSelection.test_list_selection_of_sequence_items) > ... ok > test_list_selection_with_invalid_selected_items > (apptools.selection.tests.test_list_selection.TestListSelection.test_list_selection_with_invalid_selected_items) > ... ok > test_add_selection_id_conflict > (apptools.selection.tests.test_selection_service.TestSelectionService.test_add_selection_id_conflict) > ... ok > test_add_selection_provider > (apptools.selection.tests.test_selection_service.TestSelectionService.test_add_selection_provider) > ... ok > test_connect_listener > (apptools.selection.tests.test_selection_service.TestSelectionService.test_connect_listener) > ... ok > test_connect_listener_then_add_remove_provider > (apptools.selection.tests.test_selection_service.TestSelectionService.test_connect_listener_then_add_remove_provider) > ... ok > test_disconnect_listener > (apptools.selection.tests.test_selection_service.TestSelectionService.test_disconnect_listener) > ... ok > test_disconnect_unknown_listener > (apptools.selection.tests.test_selection_service.TestSelectionService.test_disconnect_unknown_listener) > ... ok > test_get_selection > (apptools.selection.tests.test_selection_service.TestSelectionService.test_get_selection) > ... ok > test_get_selection_id_not_registered > (apptools.selection.tests.test_selection_service.TestSelectionService.test_get_selection_id_not_registered) > ... ok > test_ignore_missing > (apptools.selection.tests.test_selection_service.TestSelectionService.test_ignore_missing) > ... ok > test_remove_selection_provider > (apptools.selection.tests.test_selection_service.TestSelectionService.test_remove_selection_provider) > ... ok > test_selection_id_not_registered > (apptools.selection.tests.test_selection_service.TestSelectionService.test_selection_id_not_registered) > ... ok > test_set_selection > (apptools.selection.tests.test_selection_service.TestSelectionService.test_set_selection) > ... ok > test_abc > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry.test_abc) > ... ok > test_deferred_push > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry.test_deferred_push) > ... ok > test_greedy_push > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry.test_greedy_push) > ... ok > test_lookup_instance > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry.test_lookup_instance) > ... ok > test_mro > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry.test_mro) > ... ok > test_abc > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_abc) > ... ok > test_deferred_push > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_deferred_push) > ... ok > test_greedy_push > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_greedy_push) > ... ok > test_lookup_all > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_lookup_all) > ... ok > test_lookup_instance > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_lookup_instance) > ... ok > test_mro > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_mro) > ... ok > test_pop_by_name_from_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_pop_by_name_from_name) > ... ok > test_pop_by_name_from_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_pop_by_name_from_type) > ... ok > test_pop_by_type_from_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_pop_by_type_from_name) > ... ok > test_pop_by_type_from_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_pop_by_type_from_type) > ... ok > test_stack_abc > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_stack_abc) > ... ok > test_stack_mixed_type_and_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_stack_mixed_type_and_name) > ... ok > test_stack_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry.test_stack_type) > ... ok > > ====================================================================== > ERROR: Test the get_version function. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/tests/test_version_registry.py", > line 69, in test_get_version > state = state_pickler.get_state(c) > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 996, in get_state > s = dumps(obj) > ^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 968, in dumps > return StatePickler().dumps(value) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 308, in dumps > return pickle.dumps(self._do(value)) > ^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 358, in _do > return self._do_instance(obj) > ^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 403, in _do_instance > state.pop("__traits_version__", None) > ^^^^^^^^^ > AttributeError: 'NoneType' object has no attribute 'pop' > > ====================================================================== > ERROR: Test if update method calls the handlers in order. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/tests/test_version_registry.py", > line 111, in test_update > state = state_pickler.get_state(c) > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 996, in get_state > s = dumps(obj) > ^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 968, in dumps > return StatePickler().dumps(value) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 308, in dumps > return pickle.dumps(self._do(value)) > ^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 358, in _do > return self._do_instance(obj) > ^^^^^^^^^^^^^^^^^^^^^^ > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build/apptools/persistence/state_pickler.py", > line 403, in _do_instance > state.pop("__traits_version__", None) > ^^^^^^^^^ > AttributeError: 'NoneType' object has no attribute 'pop' > > ---------------------------------------------------------------------- > Ran 355 tests in 1.754s > > FAILED (errors=2) > E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apptools/build; python3.11 -m nose -v > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apptools/build; python3.10 -m nose -v > test_auto_flush (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_auto_flush_off (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) > ... ok > test_basic_dtypes (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... > ok > test_create (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_create_with_array_data > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_create_with_data (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) > ... ok > test_delete_array (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... > ok > test_delete_item (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_dict (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_is_dict_node (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... > ok > test_is_not_dict_node (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) > ... ok > test_keys (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_load_saved_dict_node > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_load_saved_dict_node_with_array > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_mixed_type_list (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) > ... ok > test_undefined_key (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... > ok > test_wrap_self_raises_error > (apptools.io.h5.tests.test_dict_node.DictNodeTestCase) ... ok > test_attribute_iteration_methods > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_attribute_translation (apptools.io.h5.tests.test_file.FileTestCase) ... > ok > test_attribute_update (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_auto_groups (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_auto_groups_deep (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_bad_group_name (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_bad_node_name (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_cleanup (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_array_with_H5File (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_array_with_H5Group (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_chunked_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_chunked_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_dict_with_H5File (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_dict_with_H5Group (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_duplicate_array_raises > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_extendable_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_extendable_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_group_with_H5File (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_group_with_H5Group (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_plain_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_plain_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_create_table_with_H5File (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_create_table_with_H5Group (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_del_attribute (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_array_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_array_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_dict_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_dict_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_group_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_group_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_table_with_H5File > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_delete_existing_table_with_H5Group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_get_attribute (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_get_attribute_default (apptools.io.h5.tests.test_file.FileTestCase) ... > ok > test_getitem_failure (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_group_attributes (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_group_properties (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_group_str_and_repr (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_groups (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_iter_groups (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_iteritems (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_join_path (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_mapping_interface_for_file (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_mapping_interface_for_group > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_open_from_closed_pytables_object > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_open_from_pytables_object (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_read_mode_raises_on_nonexistent_file > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_remove_group_with_H5File (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_remove_group_with_H5Group (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_remove_group_with_remove_node > (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_remove_node_with_H5File (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_remove_node_with_H5Group (apptools.io.h5.tests.test_file.FileTestCase) > ... ok > test_reopen (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_shape_and_dtype (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_shape_only_raises (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_split_path (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_str_and_repr (apptools.io.h5.tests.test_file.FileTestCase) ... ok > test_basics (apptools.io.h5.tests.test_table_node.TableNodeTestCase) ... ok > test_getitem (apptools.io.h5.tests.test_table_node.TableNodeTestCase) ... ok > test_keys (apptools.io.h5.tests.test_table_node.TableNodeTestCase) ... ok > test_to_dataframe (apptools.io.h5.tests.test_table_node.TableNodeTestCase) > ... ok > file copy ... ok > file creation ... ok > file deletion ... ok > file properties ... ok > folder copy ... ok > folder creation ... ok > nested folder creation ... ok > folder deletion ... ok > folder properties ... ok > test_attaching_single_project > (apptools.logger.agent.tests.test_attachments.AttachmentsTestCase) ... ok > test_attaching_workspace > (apptools.logger.agent.tests.test_attachments.AttachmentsTestCase) ... ok > test_create_email_message > (apptools.logger.plugin.tests.test_logger_service.LoggerServiceTestCase) ... > ok > test_create_email_message_with_user_data > (apptools.logger.plugin.tests.test_logger_service.LoggerServiceTestCase) ... > ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > get attributes ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > get and set attributes ... ok > context unbind ... ok > test_save_load_roundtrip > (apptools.naming.tests.test_object_serializer.TestObjectSerializer) ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > bind ... ok > bind with make contexts ... ok > create sub-context ... ok > default object and state factories. ... ok > single context destroy sub-context ... ok > list bindings ... ok > list names ... ok > lookup ... ok > context rebind ... ok > rebind with make contexts ... ok > rename a context ... ok > rename an object ... ok > test retrieving the names of bound objects ... ok > context unbind ... ok > pyfs context bind ... ok > pyfs context create sub-context ... ok > single context destroy sub-context ... ok > get attributes ... ok > initialization of an existing context ... ok > initialization with empty environmentt ... ok > pyfs context lookup ... ok > get the name of a context within its namespace. ... ok > pyfs context rebind ... ok > multi-context rename ... ok > get and set attributes ... ok > pyfs context unbind ... ok > test_unpickled_class_mapping > (apptools.persistence.tests.test_class_mapping.ClassMappingTestCase) ... ok > Test if absolute paths are set corectly. ... ok > Test if pickler works correctly with FilePaths. ... ok > Test if relative paths are set correctly. ... ok > Validates that only existing setstate methods are called when ... ok > Test if dump can take a str as file ... ok > Test if get_pure_state is called first. ... ok > test_get_state_on_tuple_with_numeric_references > (apptools.persistence.tests.test_state_pickler.TestDictPickler) ... ok > Test to check has_instance correctness. ... ok > Test if classic classes can be pickled. ... ok > Test if traited classes can be pickled. ... ok > Test if reference cycles are handled when setting the state. ... ok > Test if the state can be saved like the object itself. ... ok > Test some of the features of the set_state method. ... ok > Test if classic classes' state can be set. ... ok > Test if traited classes' state can be set. ... ok > Test if classic classes can be unpickled. ... ok > Test if traited classes can be unpickled. ... ok > test_generic > (apptools.persistence.tests.test_two_stage_unpickler.GenericTestCase) ... ok > test_toy_app > (apptools.persistence.tests.test_two_stage_unpickler.ToyAppTestCase) ... ok > Test the get_version function. ... ok > Test if the registry is reload safe. ... ok > Test if update method calls the handlers in order. ... ok > Test applying the preferences ... ok > Test _items traits from List mutation are skipped. ... ok > Test sychronizing trait with name *_items not to be mistaken ... ok > instance scope preferences path ... ok > explicit preferences ... ok > load and save ... ok > nested set in trait change handler ... ok > preference binding ... ok > test_trait_name_different_to_preference_name > (apptools.preferences.tests.test_preference_binding.PreferenceBindingTestCase) > ... ok > add listener ... ok > clear ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > load ... ok > load with filename trait set ... ok > node ... ok > node exists ... ok > node names ... ok > package global default preferences ... ok > remove ... ok > remove listener ... ok > save ... ok > set with same value ... ok > class scope preferences path ... ok > default values ... ok > instance scope preferences path ... ok > Mutated list should be saved and _items events not to be ... ok > nested set in trait change handler ... ok > no preferences path ... ok > preference not in file ... ok > preferences node changed ... ok > Test with real life unicode values ... ok > scoped preferences ... ok > Test sychronizing trait with name *_items which is a normal trait ... ok > sync trait ... ok > unevaluated strings ... ok > load from file ... ok > load from filename ... ok > load multiple files ... ok > save ... ok > add listener ... ok > clear ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > load ... ok > load with filename trait set ... ok > node ... ok > node exists ... ok > node names ... ok > package global default preferences ... ok > remove ... ok > remove listener ... ok > save ... ok > set with same value ... ok > test_ability_to_specify_primary_scope > (apptools.preferences.tests.test_scoped_preferences.ScopedPreferencesTestCase) > ... ok > add listener ... ok > add listener in specific scope. ... ok > builtin scopes ... ok > clear ... ok > clear in specific scope ... ok > default lookup order ... ok > default values ... ok > empty path ... ok > flush ... ok > get and set bool ... ok > get and set float ... ok > get and set in specific scope ... ok > get and set int ... ok > get and set list of int ... ok > get and set list of str ... ok > get and set str ... ok > get inherited ... ok > keys ... ok > keys in specific scope ... ok > load ... ok > load with filename trait set ... ok > lookup order ... ok > node ... ok > node exists ... ok > node exists ... ok > node in specific scope ... ok > node names ... ok > node names in specific scope ... ok > non existent scope ... ok > package global default preferences ... ok > remove ... ok > remove in specific scope ... ok > remove listener ... ok > remove listener in specific scope. ... ok > save ... ok > set with same value ... ok > Test the clear method. ... ok > Is the object imported and created if unknown? ... ok > Test if a list item is changed does the change get recorded. ... ok > Can classes not using traits be handled? ... ok > Does the object path update when a list has changed? ... ok > Does recording work correctly. ... ok > See if recordable function calls are handled correctly. ... ok > Does recording work right when a trait is replaced. ... ok > Test if recorder trait is set and private traits are ignored. ... ok > Test if saving tape to file works. ... ok > Test if setting script_id at registration time works. ... ok > Does the get_unique_id method work. ... ok > Test the write_script_id_in_namespace method. ... ok > test_list_selection > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_list_selection_of_numpy_array_items > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_list_selection_of_sequence_items > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_list_selection_with_invalid_selected_items > (apptools.selection.tests.test_list_selection.TestListSelection) ... ok > test_add_selection_id_conflict > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_add_selection_provider > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_connect_listener > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_connect_listener_then_add_remove_provider > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_disconnect_listener > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_disconnect_unknown_listener > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_get_selection > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_get_selection_id_not_registered > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_ignore_missing > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_remove_selection_provider > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_selection_id_not_registered > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_set_selection > (apptools.selection.tests.test_selection_service.TestSelectionService) ... ok > test_abc (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) > ... ok > test_deferred_push > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) ... ok > test_greedy_push > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) ... ok > test_lookup_instance > (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) ... ok > test_mro (apptools.type_registry.tests.test_lazy_registry.TestLazyRegistry) > ... ok > test_abc (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) > ... ok > test_deferred_push > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_greedy_push > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_lookup_all > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_lookup_instance > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_mro (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) > ... ok > test_pop_by_name_from_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_pop_by_name_from_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_pop_by_type_from_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_pop_by_type_from_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_stack_abc > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_stack_mixed_type_and_name > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > test_stack_type > (apptools.type_registry.tests.test_type_registry.TestTypeRegistry) ... ok > > ---------------------------------------------------------------------- > Ran 355 tests in 1.668s > > OK > dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.11 > 3.10" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/01/01/python-apptools_5.1.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.