Bug#1137015: vtk9: Causing autopkgtest regression with NumPy 2.4 in pysurfer
Andreas Tille
tille at debian.org
Mon May 18 18:07:57 BST 2026
Source: vtk9
Version: 9.5.2+dfsg4-4
Severity: serious
Justification: Breaks other packages
X-Debbugs-Cc: 1131070 at bugs.debian.org, Anton Gladky <gladk at debian.org>, Gert Wollny <gewo at debian.org>, Nico Schlömer <nico.schloemer at gmail.com>
Hi,
I've fixed the pysurfer numpy 2.4 compatibility issue reported in bug
#1131070[1]. As you can see in Salsa CI
https://salsa.debian.org/med-team/pysurfer/-/jobs/9620845
there is a remaining instance of in1d which should be isin now.
I verified in vtk9 code in git that this is really from here:
$ grep -R in1d
Wrapping/Python/vtkmodules/numpy_interface/algorithms.py:in1d = _make_ufunc(numpy.in1d)
Wrapping/Python/vtkmodules/numpy_interface/algorithms.py:in1d.__doc__ = "Test whether each element of a 1-D array is also present in a second array."
Common/Core/Testing/Python/TestNumpyInterface.py:assert algs.in1d(elev, [0,1]) == [item in [0, 1] for item in elev]
Since I assume you might like to upgrade to latest vtk9 upstream anyway
and I also assume that this is fixed there (did not checked!) I do not
intend to provide a patch for this version.
Kind regards and thank you for maintaining vtk9
Andreas.
[1] https://salsa.debian.org/med-team/pysurfer/-/commit/d04ee1b429b39174c8ce9dbeaf9a7c483ca2a7fb
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5, 'experimental'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.19.11+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the debian-science-maintainers
mailing list