#1136866 napari: FTBFS: E AssertionError: <class 'numpy.int8'>

Package:
src:napari
Source:
src:napari
Submitter:
Santiago Vila
Date:
2026-06-27 09:13:02 UTC
Severity:
normal
Tags:
#1136866#5
Date:
2026-05-16 16:27:49 UTC
From:
To:
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 ===================================

napari_builtins/_tests/test_io.py:87: AttributeError
napari_builtins/_tests/test_io.py:98: AttributeError
napari_builtins/_tests/test_io.py:118: AttributeError
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)

#1136866#10
Date:
2026-05-24 07:48:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
napari, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1136866@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Athul R T <athul@disroot.org> (supplier of updated napari package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 23 May 2026 19:20:24 +0530
Source: napari
Architecture: source
Version: 0.7.1~a6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Athul R T <athul@disroot.org>
Closes: 1136866
Changes:
 napari (0.7.1~a6-1) unstable; urgency=medium
 .
   * Team upload
   * Add d/p/0010-backport-zarr-fix.patch (Closes: #1136866)
   * drop Use-platformdirs-instead-of-appdirs.patch
   * Refreshed patches
    + 0003-Mark-tests-that-require-network-access.patch
    + 0009-Run-pytest-xvfb-with-a-window-manager.patch
Checksums-Sha1:
 2dbbb3c512aa5707fe372e0620ed0a079d4edeb0 3858 napari_0.7.1~a6-1.dsc
 c3d0688bdbab166398b41a35eb572becc372f61f 3296833 napari_0.7.1~a6.orig.tar.gz
 7f3c38ac616767f4d73c00c660c1d5c052df8f6b 9048 napari_0.7.1~a6-1.debian.tar.xz
 bde9b1e9f1ee16ab9ee3ddb34a1507a14e938126 24330 napari_0.7.1~a6-1_amd64.buildinfo
Checksums-Sha256:
 be9e9fa5eeda12800bbd52ebefb274afde4fece066d149ba49338a4188ef9109 3858 napari_0.7.1~a6-1.dsc
 367e9d55e1d3f625c557938d60452dcabbd7addeabd1234056b07a34f9176f18 3296833 napari_0.7.1~a6.orig.tar.gz
 f2207bdb849ee58c1414d42d22bdc3a5eb0522876e60f2818578ff5d7cc4a677 9048 napari_0.7.1~a6-1.debian.tar.xz
 20830761a49b3d17cade0ceebb381286a995219a7638c7022af245faabd21bfb 24330 napari_0.7.1~a6-1_amd64.buildinfo
Files:
 57b1a6d44e322cf78fa3d39f2d30693e 3858 python optional napari_0.7.1~a6-1.dsc
 dee7a7352e39102401c8996d3b2b929b 3296833 python optional napari_0.7.1~a6.orig.tar.gz
 34dad141d26d6c253a9b8b3dfa35f862 9048 python optional napari_0.7.1~a6-1.debian.tar.xz
 ffa35cf8f4cefe3184246ebf57797720 24330 python optional napari_0.7.1~a6-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUtW9Dn1NsITjS1hl1KQc+t2yDbUFAmoSp9MACgkQ1KQc+t2y
DbVREQ//a42zxTbUu2p17WcMaKD1FUIW3d4NIBpv1fqJ9K7b2f4niM6yMmN3SaAR
NMhU3lKpeXUOlvvWitziQOMktQ6Vl9L2LHTery4TYkaMNUbDGa6Dze5i/6YflCaz
Zrm2Vuw9AJwUdN6UZN5jqcnwI8io+4qUjpQYugRoTIPHxlKg3HzV+20z4omdxAwT
j5LsPi7Aa0VGUGe33Y7YixLoQh7M1FVhH/ImusWJEM63eqN78MtY++ln7pnN/jNf
pH4PAAk0XX60K/wbccf60lcJs2gPTaGWqmEi0maAYOEnOZGx6U2sbAW+81ugsawb
ahJKAaSH+zmzizxE4tlu/JMvCEFLFjSSObWO1kMAqNXISUPmvvVMH+fIeM9f+CRJ
prC+GXwHlaRh2hVwB9uSAyv51/YnkqE/Lydm7vtskUZMRiPcqjbLviiXzh8jg735
qfUYIfCICpMdyqlatLp9c2JEEL6m3ARa3V967+k/eN1Vd16n/X9JqmkFKuqH72/W
Nr6nOl3vW+b2RUxbKCfQozgki3osUDpbpFNgwQV7fXd+YIL+GzKKeQjA/W7AtwR2
LOLOXVD+NwuHhNenMTE7Gi5pHx74WggHqCSycHPc+hisbhRtO8TsLpJD+xGb+d2V
+ytUcEVpt8GRlj2eFvgRRvIn3tqfBxbhJMwh3AohxzuaB3OapMo=
=k6xE
-----END PGP SIGNATURE-----