Package: src:napari Version: 0.7.0~a3-2 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/202605/ 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:napari, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild 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 dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_napari * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:334: InformationOnly: Normalizing '0.7.0-a3' to '0.7.0a3' [... snipped ...] napari_builtins/_qt/_tests/test_features_table.py::test_features_table_multilayer_layer_selection_change PASSED [4610/4712] napari_builtins/_qt/_tests/test_features_table.py::test_features_table_multilayer_table_selection PASSED [4611/4712] napari_builtins/_qt/_tests/test_features_table.py::test_features_table_multilayer_edit PASSED [4612/4712] napari_builtins/_qt/_tests/test_features_table.py::test_features_table_multilayer_save_csv PASSED [4613/4712] napari_builtins/_tests/test_io.py::test_no_files_raises PASSED [4614/4712] napari_builtins/_tests/test_io.py::test_guess_zarr_path PASSED [4615/4712] napari_builtins/_tests/test_io.py::test_zarr PASSED [4616/4712] napari_builtins/_tests/test_io.py::test_zarr_nested FAILED [4617/4712] [4617/4712] napari_builtins/_tests/test_io.py:81 test_zarr_nested - AttributeErr⦠napari_builtins/_tests/test_io.py::test_zarr_with_unrelated_file FAILED [4618/4712] [4618/4712] napari_builtins/_tests/test_io.py:92 test_zarr_with_unrelated_file napari_builtins/_tests/test_io.py::test_zarr_multiscale FAILED [4619/4712] [4619/4712] napari_builtins/_tests/test_io.py:106 test_zarr_multiscale - Attribu⦠napari_builtins/_tests/test_io.py::test_write_csv PASSED [4620/4712] napari_builtins/_tests/test_io.py::test_read_csv PASSED [4621/4712] napari_builtins/_tests/test_io.py::test_guess_layer_type_from_column_names PASSED [4622/4712] napari_builtins/_tests/test_io.py::test_read_csv_raises PASSED [4623/4712] napari_builtins/_tests/test_io.py::test_csv_to_layer_data_raises PASSED [4624/4712] napari_builtins/_tests/test_io.py::test_single_file[1-spec0] PASSED [4625/4712] napari_builtins/_tests/test_io.py::test_single_file[1-spec1] PASSED [4626/4712] napari_builtins/_tests/test_io.py::test_single_file[1-spec2] PASSED [4627/4712] napari_builtins/_tests/test_io.py::test_single_file[1-spec3] PASSED [4628/4712] napari_builtins/_tests/test_io.py::test_single_file[3-spec0] PASSED [4629/4712] napari_builtins/_tests/test_io.py::test_single_file[3-spec1] PASSED [4630/4712] napari_builtins/_tests/test_io.py::test_single_file[3-spec2] PASSED [4631/4712] napari_builtins/_tests/test_io.py::test_single_file[3-spec3] PASSED [4632/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-True-spec0] PASSED [4633/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-True-spec1] PASSED [4634/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-True-spec2] PASSED [4635/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-True-spec3] PASSED [4636/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-True-spec4] PASSED [4637/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-False-spec0] PASSED [4638/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-False-spec1] PASSED [4639/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-False-spec2] PASSED [4640/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-False-spec3] PASSED [4641/4712] napari_builtins/_tests/test_io.py::test_magic_imread[True-False-spec4] PASSED [4642/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-True-spec0] PASSED [4643/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-True-spec1] PASSED [4644/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-True-spec2] PASSED [4645/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-True-spec3] PASSED [4646/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-True-spec4] PASSED [4647/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-False-spec0] PASSED [4648/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-False-spec1] PASSED [4649/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-False-spec2] PASSED [4650/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-False-spec3] PASSED [4651/4712] napari_builtins/_tests/test_io.py::test_magic_imread[False-False-spec4] PASSED [4652/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-True-spec0] PASSED [4653/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-True-spec1] PASSED [4654/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-True-spec2] PASSED [4655/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-True-spec3] PASSED [4656/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-True-spec4] PASSED [4657/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-False-spec0] PASSED [4658/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-False-spec1] PASSED [4659/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-False-spec2] PASSED [4660/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-False-spec3] PASSED [4661/4712] napari_builtins/_tests/test_io.py::test_magic_imread[None-False-spec4] PASSED [4662/4712] napari_builtins/_tests/test_io.py::test_irregular_images[True] PASSED [4663/4712] napari_builtins/_tests/test_io.py::test_irregular_images[False] PASSED [4664/4712] napari_builtins/_tests/test_io.py::test_add_zarr PASSED [4665/4712] napari_builtins/_tests/test_io.py::test_add_zarr_1d_array_is_ignored PASSED [4666/4712] napari_builtins/_tests/test_io.py::test_add_many_zarr_1d_array_is_ignored PASSED [4667/4712] napari_builtins/_tests/test_io.py::test_github_and_gitlab_to_raw_url[https://github.com/napari/napari/blob/main/examples/add_labels.py-https://raw.githubusercontent.com/napari/napari/refs/heads/main/examples/add_labels.py] PASSED [4668/4712] napari_builtins/_tests/test_io.py::test_github_and_gitlab_to_raw_url[https://gist.github.com/Czaki/532b38f23abb6806f63fbd7c048bbf63#file-saveimage_tiff-py-https://gist.githubusercontent.com/Czaki/532b38f23abb6806f63fbd7c048bbf63/raw#file-saveimage_tiff-py] PASSED [4669/4712] napari_builtins/_tests/test_io.py::test_github_and_gitlab_to_raw_url[https://gitlab.mimuw.edu.pl/python-tools/testing/-/blob/master/code/test_conditional.py?ref_type=heads-https://gitlab.mimuw.edu.pl/python-tools/testing/-/raw/master/code/test_conditional.py?ref_type=heads] PASSED [4670/4712] napari_builtins/_tests/test_io.py::test_read_zarr_non_existent_path_raises PASSED [4671/4712] napari_builtins/_tests/test_io.py::test_read_zarr_remote_group_raises PASSED [4672/4712] napari_builtins/_tests/test_io.py::test_read_zarr_remote_array_succeeds PASSED [4673/4712] napari_builtins/_tests/test_io.py::test_zarr_multiple_groups_reads_first FAILED [4674/4712] [4674/4712] napari_builtins/_tests/test_io.py:403 test_zarr_multiple_groups_reads_first napari_builtins/_tests/test_measure.py::test_measure_shapes[line-shape_data0-1.4142135623730951-0] PASSED [4675/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[path-shape_data1-3-0] PASSED [4676/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[polygon-shape_data2-4-1] PASSED [4677/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[rectangle-shape_data3-4-1] PASSED [4678/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[ellipse-shape_data4-6.283185307179586-3.141592653589793] PASSED [4679/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[rectangle-shape_data5-6-2] PASSED [4680/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[ellipse-shape_data6-9.688447-6.283185307179586] PASSED [4681/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[path-shape_data7-1.7320508075688772-0] PASSED [4682/4712] napari_builtins/_tests/test_measure.py::test_measure_shapes[polygon-shape_data8-4.82842712474619-1.4142135623730951] PASSED [4683/4712] napari_builtins/_tests/test_measure.py::test_toggle_measures PASSED [4684/4712] napari_builtins/_tests/test_ndims_balls.py::test_labeled_particles2d PASSED [4685/4712] napari_builtins/_tests/test_ndims_balls.py::test_labeled_particles3d PASSED [4686/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[False-.tif] PASSED [4687/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[False-.npy] PASSED [4688/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[False-.png] PASSED [4689/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[False-.jpg] PASSED [4690/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[True-.tif] PASSED [4691/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[True-.npy] PASSED [4692/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[True-.png] PASSED [4693/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_tif[True-.jpg] PASSED [4694/4712] napari_builtins/_tests/test_reader.py::test_animated_gif_reader PASSED [4695/4712] napari_builtins/_tests/test_reader.py::test_reader_plugin_csv PASSED [4696/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer0-True] PASSED [4697/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer0-False] PASSED [4698/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer1-True] PASSED [4699/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer1-False] PASSED [4700/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer2-True] PASSED [4701/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer2-False] PASSED [4702/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer3-True] PASSED [4703/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer3-False] PASSED [4704/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer4-True] PASSED [4705/4712] napari_builtins/_tests/test_writer.py::test_layer_save[some_layer4-False] PASSED [4706/4712] napari_builtins/_tests/test_writer.py::test_no_write_layer_bad_extension[some_layer0] PASSED [4707/4712] napari_builtins/_tests/test_writer.py::test_no_write_layer_bad_extension[some_layer1] PASSED [4708/4712] napari_builtins/_tests/test_writer.py::test_no_write_layer_bad_extension[some_layer2] PASSED [4709/4712] napari_builtins/_tests/test_writer.py::test_no_write_layer_bad_extension[some_layer3] PASSED [4710/4712] napari_builtins/_tests/test_writer.py::test_no_write_layer_bad_extension[some_layer4] PASSED [4711/4712] napari_builtins/_tests/test_writer.py::test_get_writer_succeeds PASSED [4712/4712] =================================== FAILURES =================================== _______________________________ test_zarr_nested _______________________________ tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_zarr_nested0') def test_zarr_nested(tmp_path): image = np.random.random((10, 20, 20)) image_name = 'my_image' root_path = tmp_path / 'dataset.zarr' grp = zarr.open(store=str(root_path), mode='a') > grp.create_dataset(image_name, data=image, shape=image.shape) ^^^^^^^^^^^^^^^^^^ E AttributeError: 'Group' object has no attribute 'create_dataset' napari_builtins/_tests/test_io.py:87: AttributeError ________________________ test_zarr_with_unrelated_file _________________________ tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_zarr_with_unrelated_file0') def test_zarr_with_unrelated_file(tmp_path): image = np.random.random((10, 20, 20)) image_name = 'my_image' root_path = tmp_path / 'dataset.zarr' grp = zarr.open(store=str(root_path), mode='a') > grp.create_dataset(image_name, data=image, shape=image.shape) ^^^^^^^^^^^^^^^^^^ E AttributeError: 'Group' object has no attribute 'create_dataset' napari_builtins/_tests/test_io.py:98: AttributeError _____________________________ test_zarr_multiscale _____________________________ tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_zarr_multiscale0') def test_zarr_multiscale(tmp_path): multiscale = [ np.random.random((20, 20)), np.random.random((10, 10)), np.random.random((5, 5)), ] fout = str(tmp_path / 'multiscale.zarr') root = zarr.open_group(fout, mode='a') for i in range(len(multiscale)): shape = 20 // 2**i > z = root.create_dataset(str(i), shape=(shape,) * 2, > dtype=np.float64) ^^^^^^^^^^^^^^^^^^^ E AttributeError: 'Group' object has no attribute 'create_dataset' napari_builtins/_tests/test_io.py:118: AttributeError ____________________ test_zarr_multiple_groups_reads_first _____________________ tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-1/test_zarr_multiple_groups_read0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ff0ab3fa6d0> def test_zarr_multiple_groups_reads_first(tmp_path, monkeypatch): """ Test that when a zarr store has multiple groups, the first one is chosen. """ root_path = tmp_path / 'multigroup.zarr' root = zarr.open_group(str(root_path), mode='a') data1 = np.zeros((5, 5)) data0 = np.zeros((10, 10)) group_one = root.create_group('1') > group_one.create_dataset('data', data=data1, shape=data1.shape) ^^^^^^^^^^^^^^^^^^^^^^^^ E AttributeError: 'Group' object has no attribute 'create_dataset' napari_builtins/_tests/test_io.py:416: AttributeError =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pydantic/_internal/_generate_schema.py:325: 32 warnings napari/utils/events/_tests/test_evented_model.py: 10 warnings napari/settings/_tests/test_settings.py: 15 warnings /usr/lib/python3/dist-packages/pydantic/_internal/_generate_schema.py:325: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.13/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/ warnings.warn( napari/layers/base/_tests/test_base.py::test_assign_units /usr/lib/python3/dist-packages/pint/registry.py:264: DeprecationWarning: Calling the getitem method from a UnitRegistry will be removed in future versions of pint. use `parse_expression` method or use the registry as a callable. return self._registry[item] napari/_vispy/_tests/test_canvas.py: 12 warnings napari/_vispy/_tests/test_image_rendering.py: 6 warnings napari/_vispy/_tests/test_utils.py: 9 warnings napari/_vispy/_tests/test_vispy_big_images.py: 18 warnings napari/_vispy/_tests/test_vispy_bounding_box_visual.py: 3 warnings napari/_vispy/_tests/test_vispy_calls.py: 18 warnings napari/_vispy/_tests/test_vispy_camera.py: 27 warnings napari/_vispy/_tests/test_vispy_labels_polygon_overlay.py: 9 warnings napari/_vispy/_tests/test_vispy_multiscale.py: 6 warnings napari/_vispy/_tests/test_vispy_scale_bar_visual.py: 3 warnings napari/_vispy/_tests/test_vispy_text_visual.py: 3 warnings napari/_vispy/_tests/test_vispy_vectors_layer.py: 27 warnings napari/_qt/_qapp_model/_tests/test_debug_menu.py: 9 warnings napari/_qt/_qapp_model/_tests/test_dummy_actions.py: 9 warnings napari/_qt/_qapp_model/_tests/test_file_menu.py: 63 warnings napari/_qt/_qapp_model/_tests/test_help_menu.py: 3 warnings napari/_qt/_qapp_model/_tests/test_layerlist_context_actions.py: 93 warnings napari/_qt/_qapp_model/_tests/test_plugins_menu.py: 24 warnings napari/_qt/_qapp_model/_tests/test_qapp_model_menus.py: 99 warnings napari/_qt/_qapp_model/_tests/test_qproviders.py: 15 warnings napari/_qt/_qapp_model/_tests/test_togglers.py: 3 warnings napari/_qt/_qapp_model/_tests/test_view_menu.py: 9 warnings napari/_qt/_tests/test_app.py: 9 warnings napari/_qt/_tests/test_async_slicing.py: 33 warnings napari/_qt/_tests/test_open_file.py: 6 warnings napari/_qt/_tests/test_plugin_widgets.py: 18 warnings napari/_qt/_tests/test_proxy_fixture.py: 6 warnings napari/_qt/_tests/test_qt_viewer.py: 141 warnings napari/_qt/_tests/test_qt_viewer_2.py: 24 warnings napari/_qt/_tests/test_qt_window.py: 30 warnings napari/_qt/_tests/test_threading_progress.py: 3 warnings napari/_qt/_tests/test_viewer_qt_integration.py: 48 warnings napari/_qt/dialogs/_tests/test_activity_dialog.py: 15 warnings napari/_qt/dialogs/_tests/test_reader_dialog.py: 12 warnings napari/_qt/widgets/_tests/test_qt_buttons.py: 3 warnings napari/_qt/widgets/_tests/test_qt_dock_widget.py: 21 warnings napari/_qt/widgets/_tests/test_qt_play.py: 15 warnings napari/_tests/test_adding_removing.py: 60 warnings napari/_tests/test_advanced.py: 27 warnings napari/_tests/test_cli.py: 15 warnings napari/_tests/test_function_widgets.py: 3 warnings napari/_tests/test_key_bindings.py: 6 warnings napari/_tests/test_layer_utils_with_qt.py: 6 warnings napari/_tests/test_magicgui.py: 150 warnings napari/_tests/test_mouse_bindings.py: 9 warnings napari/_tests/test_multiple_viewers.py: 6 warnings napari/_tests/test_notebook_display.py: 3 warnings napari/_tests/test_top_level_availability.py: 3 warnings napari/_tests/test_view_layers.py: 9 warnings napari/_tests/test_viewer.py: 348 warnings napari/_tests/test_windowsettings.py: 3 warnings /usr/lib/python3/dist-packages/vispy/util/svg/group.py:29: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead logger.warn("Unhandled SVG tag (%s)" % tag) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 4.96s call napari/_tests/test_viewer.py::test_close_all[4] 4.19s call napari/_qt/_tests/test_viewer_qt_integration.py::test_drop_python_file_double_viewer 3.73s call napari/_qt/_tests/test_qt_viewer.py::test_export_rois 3.69s call napari/_tests/test_viewer.py::test_close_all[3] 3.18s call napari/_tests/test_multiple_viewers.py::test_multi_viewers_dont_clash 2.46s call napari/_qt/_tests/test_qt_viewer.py::test_z_order_adding_removing_images 2.45s call napari/_tests/test_viewer.py::test_close_all[2] 2.25s call napari/_tests/test_view_layers.py::test_imshow_multichannel 1.95s call napari/_qt/_tests/test_qt_window.py::test_current_viewer 1.93s teardown napari/_tests/test_viewer.py::test_current_viewer Summary of Failures âââââââââââââââââ³ââââââââââââââââ³ââââââââââââââââ³âââââââââââââââ³ââââââââââââââââ â â â Function â â â â File â Function â Line â Error Line â Error â â¡âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ© â napari_bui⦠â test_zarr_⦠â 82 â 87 â AttributeE⦠â â napari_bui⦠â test_zarr_⦠â 93 â 98 â AttributeE⦠â â napari_bui⦠â test_zarr_⦠â 107 â 118 â AttributeE⦠â â napari_bui⦠â test_zarr_⦠â 404 â 416 â AttributeE⦠â âââââââââââââââââ´ââââââââââââââââ´ââââââââââââââââ´âââââââââââââââ´ââââââââââââââââ Results (167.88s): 4 failed 4498 passed 211 skipped 10 deselected 2 xfailed 1558 warnings E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_napari/build'; python3.13 -m pytest -m 'not needs_network' -vv dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

