Control: clone -1 -2
Control: reassign -2 python3-vtk9
Control: retitle -2 python3-vtk9: segfault on Python 3.13
Control: tags -2 patch
Most of this is due to vtk9. I've attached a patch cherry-picked from
upstream which fixes this.
There's one remaining problem after this, which I haven't been able to
figure out myself so far. Here's the test log:
dh_auto_test -O--buildsystem=pybuild
pybuild --test -i python{version} -p 3.13
I: pybuild base:311: cd /build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build; cd /build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build ; LD_PRELOAD=libgomp.so.1 xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" python3.13 -m pytest -k 'not test_array2vtk'
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build
configfile: setup.cfg
plugins: typeguard-4.4.1
collected 444 items / 1 deselected / 443 selected
mayavi/tests/test_array_source.py ......... [ 2%]
mayavi/tests/test_builtin_image.py ... [ 2%]
mayavi/tests/test_builtin_surface.py ... [ 3%]
mayavi/tests/test_composite_data.py .... [ 4%]
mayavi/tests/test_contour.py .... [ 5%]
mayavi/tests/test_core_common.py ........ [ 6%]
mayavi/tests/test_core_utils.py ... [ 7%]
mayavi/tests/test_csv_sniff.py ..................... [ 12%]
mayavi/tests/test_customize.py . [ 12%]
mayavi/tests/test_cut_plane.py .. [ 13%]
mayavi/tests/test_dataset_manager.py ........ [ 14%]
mayavi/tests/test_engine_manager.py ......... [ 16%]
mayavi/tests/test_extract_grid_filter.py ss [ 17%]
mayavi/tests/test_file_timestep.py ...... [ 18%]
mayavi/tests/test_filters.py . [ 18%]
mayavi/tests/test_garbage_collection.py ...... [ 20%]
mayavi/tests/test_glyph.py ...... [ 21%]
mayavi/tests/test_grid_plane.py ... [ 22%]
mayavi/tests/test_image_data_probe.py ... [ 23%]
mayavi/tests/test_image_data_reader.py ...... [ 24%]
mayavi/tests/test_image_plane_widget.py .... [ 25%]
mayavi/tests/test_ipw_multiple_scalars.py . [ 25%]
mayavi/tests/test_mayavi_traits.py ....... [ 27%]
mayavi/tests/test_mlab_integration.py ............................. [ 33%]
mayavi/tests/test_mlab_null_engine.py .. [ 34%]
mayavi/tests/test_mlab_scene_model.py . [ 34%]
mayavi/tests/test_mlab_source.py ....................................... [ 43%]
[ 43%]
mayavi/tests/test_mlab_source_integration.py ....... [ 44%]
mayavi/tests/test_mouse_pick_dispatcher.py . [ 44%]
mayavi/tests/test_no_ui_toolkit.py . [ 45%]
mayavi/tests/test_optional_collection.py ... [ 45%]
mayavi/tests/test_pipeline_info.py .. [ 46%]
mayavi/tests/test_plot3d_mb_reader.py ... [ 46%]
mayavi/tests/test_poly_data_reader.py ........................... [ 53%]
mayavi/tests/test_preferences_mirror.py .... [ 53%]
mayavi/tests/test_pylab_luts.py s [ 54%]
mayavi/tests/test_recorder.py ............. [ 57%]
mayavi/tests/test_registry.py ..... [ 58%]
mayavi/tests/test_script_recording.py . [ 58%]
mayavi/tests/test_set_active_attribute.py ... [ 59%]
mayavi/tests/test_sources.py . [ 59%]
mayavi/tests/test_streamline.py .... [ 60%]
mayavi/tests/test_text3d.py ... [ 60%]
mayavi/tests/test_threshold_filter.py .... [ 61%]
mayavi/tests/test_unstructured_data_reader.py ...s... [ 63%]
mayavi/tests/test_user_defined.py ... [ 64%]
mayavi/tests/test_volume.py . [ 64%]
mayavi/tests/test_vtk_data_source.py ......... [ 66%]
mayavi/tests/test_vtk_file_reader.py ...... [ 67%]
mayavi/tests/test_vtk_object_source.py ..... [ 68%]
mayavi/tests/test_vtk_xml_reader.py ... [ 69%]
tvtk/tests/test_array_ext.py .. [ 69%]
tvtk/tests/test_array_handler.py ......... [ 72%]
tvtk/tests/test_browser.py ...... [ 73%]
tvtk/tests/test_class_tree.py ...... [ 74%]
tvtk/tests/test_ctf_util.py X. [ 75%]
tvtk/tests/test_garbage_collection.py ...F [ 76%]
tvtk/tests/test_indenter.py ......... [ 78%]
tvtk/tests/test_messenger.py ..... [ 79%]
tvtk/tests/test_misc.py ..... [ 80%]
tvtk/tests/test_movie_maker.py .... [ 81%]
tvtk/tests/test_pyface_utils.py .. [ 81%]
tvtk/tests/test_tvtk.py .........s..............s..................... [ 92%]
tvtk/tests/test_tvtk_base.py ............. [ 95%]
tvtk/tests/test_tvtk_scene.py . [ 95%]
tvtk/tests/test_visual.py .......... [ 97%]
tvtk/tests/test_vtk_parser.py ........ [ 99%]
tvtk/tests/test_wrapper_gen.py ... [100%]
=================================== FAILURES ===================================
__________________ TestTVTKGarbageCollection.test_tvtk_scene ___________________
tvtk/tests/test_garbage_collection.py:50: in test_tvtk_scene
self.check_object_garbage_collected(create_fn, close_fn)
tvtk/tests/common.py:61: in check_object_garbage_collected
self.assertTrue(object_collected[0])
E IndexError: list index out of range
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:258
/usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:258: DeprecationWarning: module 'sre_parse' is deprecated
import sre_parse
../../../../../../usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:259
/usr/lib/python3/dist-packages/traits/observation/_generated_parser.py:259: DeprecationWarning: module 'sre_constants' is deprecated
import sre_constants
mayavi/tests/test_composite_data.py: 1 warning
mayavi/tests/test_contour.py: 34 warnings
mayavi/tests/test_image_data_probe.py: 16 warnings
mayavi/tests/test_mlab_integration.py: 4 warnings
mayavi/tests/test_mlab_null_engine.py: 1 warning
mayavi/tests/test_optional_collection.py: 6 warnings
mayavi/tests/test_script_recording.py: 2 warnings
mayavi/tests/test_set_active_attribute.py: 6 warnings
mayavi/tests/test_vtk_data_source.py: 31 warnings
mayavi/tests/test_vtk_xml_reader.py: 21 warnings
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/mayavi/components/contour.py:222: DeprecationWarning: In the future, lists will no longer be accepted by the Tuple trait type. Lists should be converted to tuples prior to validation.
self._current_range = rng
mayavi/tests/test_mlab_integration.py::TestMlabNullEngineMisc::test_user_defined_filter
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/tools/tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkOutputWindowCleanup. (`vtkOutputWindowCleanup` is no longer necessary) -- Deprecated since version 9.3.0.
c = klass()
mayavi/tests/test_mlab_integration.py::TestMlabModules::test_volume
mayavi/tests/test_mlab_integration.py::TestMlabModules::test_volume
mayavi/tests/test_mlab_integration.py::TestMlabModules::test_volume
mayavi/tests/test_mlab_integration.py::TestMlabModules::test_volume
mayavi/tests/test_mlab_integration.py::TestMlabModules::test_volume
mayavi/tests/test_volume.py::TestVolumeWorksWithProbe::test_volume_works_with_probe
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/mayavi/modules/volume.py:469: DeprecationWarning: In the future, lists will no longer be accepted by the Tuple trait type. Lists should be converted to tuples prior to validation.
self.current_range = rng
tvtk/tests/test_array_handler.py::TestArrayHandler::test_arr2cell_array
tvtk/tests/test_array_handler.py::TestArrayHandler::test_arr2cell_array
/usr/lib/python3.13/unittest/case.py:606: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
if method() is not None:
tvtk/tests/test_tvtk.py::TestTVTKModule::test_all_instantiable
tvtk/tests/test_tvtk.py::TestTVTKModule::test_all_traits_can_be_obtained
tvtk/tests/test_tvtk.py::TestTVTKModule::test_no_trait_has_ptr_address_as_value
tvtk/tests/test_tvtk.py::TestTVTKModule::test_trait_with_range
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetPreserveInputEntityGroups. (PreserveInputEntityGroups is no longer needed.) -- Deprecated since version 9.3.0.
val = getattr(vtk_obj, getter)()
tvtk/tests/test_tvtk.py::TestTVTKModule::test_all_instantiable
tvtk/tests/test_tvtk.py::TestTVTKModule::test_all_traits_can_be_obtained
tvtk/tests/test_tvtk.py::TestTVTKModule::test_no_trait_has_ptr_address_as_value
tvtk/tests/test_tvtk.py::TestTVTKModule::test_trait_with_range
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetOptimizeForRealInput. (Function has been renamed GetReturnOnesided) -- Deprecated since version 9.3.0.
val = getattr(vtk_obj, getter)()
tvtk/tests/test_tvtk.py::TestTVTKModule::test_all_instantiable
tvtk/tests/test_tvtk.py::TestTVTKModule::test_all_traits_can_be_obtained
tvtk/tests/test_tvtk.py::TestTVTKModule::test_no_trait_has_ptr_address_as_value
tvtk/tests/test_tvtk.py::TestTVTKModule::test_trait_with_range
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetNumberOfBlock. (Block behavior is not controlled using BlockSize and BlockOverlap properties.) -- Deprecated since version 9.3.0.
val = getattr(vtk_obj, getter)()
tvtk/tests/test_vtk_parser.py::TestVTKParser::test_parse_all
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetPreserveInputEntityGroups. (PreserveInputEntityGroups is no longer needed.) -- Deprecated since version 9.3.0.
tm[key] = getattr(obj, 'Get%s'%key)()
tvtk/tests/test_vtk_parser.py::TestVTKParser::test_parse_all
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetOptimizeForRealInput. (Function has been renamed GetReturnOnesided) -- Deprecated since version 9.3.0.
tm[key] = getattr(obj, 'Get%s'%key)()
tvtk/tests/test_vtk_parser.py::TestVTKParser::test_parse_all
/build/reproducible-path/mayavi2-4.8.2/.pybuild/cpython3_3.13/build/tvtk/vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetNumberOfBlock. (Block behavior is not controlled using BlockSize and BlockOverlap properties.) -- Deprecated since version 9.3.0.
default = getattr(obj, 'Get%s' % key)()