Bug#1151515: autopkg test failure on amd64 with pillow 13.0.0
Matthias Klose
doko at debian.org
Wed Oct 21 10:37:23 BST 2026
Package: src:python-pyvista
Version: 0.48.4-5
Severity: serious
Tags: sid forky
this is an autopkg test failure on amd64 triggered with pillow 13.0.0. I
don't see pillow directly here, just a failure in vtk:
[...]
2416s =================================== FAILURES
===================================
2416s _________________________ test_sample_function_raises
__________________________
2416s
2416s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at
0x7fb055dadc50>
2416s
2416s def test_sample_function_raises(monkeypatch: pytest.MonkeyPatch):
2416s with monkeypatch.context() as m:
2416s m.setattr(os, 'name', 'nt')
2416s with pytest.raises(
2416s ValueError,
2416s match='This function on Windows only supports
int32 or smaller',
2416s ):
2416s > sample_function(_vtk.vtkPlane(), output_type=np.int64)
2416s
2416s tests/core/test_utilities.py:124:
2416s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
2416s pyvista/_deprecate_positional_args.py:243: in inner_f
2416s return f(*args, **kwargs)
2416s ^^^^^^^^^^^^^^^^^^
2416s pyvista/core/utilities/features.py:836: in sample_function
2416s samp = _vtk.vtkSampleFunction()
2416s ^^^^^^^^^^^^^^^^^^^^^^
2416s pyvista/_vtk.py:721: in __getattr__
2416s module = importlib.import_module(module_full_name)
2416s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2416s /usr/lib/python3.14/importlib/__init__.py:88: in import_module
2416s return _bootstrap._gcd_import(name[level:], package, level)
2416s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2416s <frozen importlib._bootstrap>:1406: in _gcd_import
2416s ???
2416s <frozen importlib._bootstrap>:1371: in _find_and_load
2416s ???
2416s <frozen importlib._bootstrap>:1333: in _find_and_load_unlocked
2416s ???
2416s <frozen importlib._bootstrap>:1267: in _find_spec
2416s ???
2416s /usr/lib/python3/dist-packages/vtkmodules/__init__.py:32: in find_spec
2416s module_path = find_lib_path(path, vtk_module_name)
2416s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2416s /usr/lib/python3/dist-packages/vtkmodules/__init__.py:22: in
find_lib_path
2416s f = Path(base_path) / f"{vtk_module_name}{ext}"
2416s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2416s /usr/lib/python3.14/pathlib/__init__.py:173: in __truediv__
2416s return self.with_segments(self, key)
2416s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2416s /usr/lib/python3.14/pathlib/__init__.py:161: in with_segments
2416s return type(self)(*pathsegments)
2416s ^^^^^^^^^^^^^^^^^^^^^^^^^
2416s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
2416s
2416s cls = <class 'pathlib.WindowsPath'>
2416s args = (WindowsPath('/usr/lib/python3/dist-packages/vtkmodules'),
'vtkImagingHybrid.cpython-314-x86_64-linux-gnu.so')
2416s kwargs = {}
2416s
2416s def __new__(cls, *args, **kwargs):
2416s > raise UnsupportedOperation(
2416s f"cannot instantiate {cls.__name__!r} on your system")
2416s E pathlib.UnsupportedOperation: cannot instantiate
'WindowsPath' on your system
2416s
2416s /usr/lib/python3.14/pathlib/__init__.py:1307: UnsupportedOperation
2416s =============================== warnings summary
===============================
2416s ../../../../usr/lib/python3/dist-packages/pytest_cases/plugin.py:929
2416s /usr/lib/python3/dist-packages/pytest_cases/plugin.py:929:
PytestRemovedIn10Warning: Passing a non-Collection iterable to
parametrize is deprecated.
2416s Test: tests/test_cli.py::test_validate_fields, argvalues type: chain
2416s Please convert to a list or tuple.
2416s See
https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
2416s metafunc.__class__.parametrize(metafunc, argnames, argvalues,
indirect=indirect, ids=ids, scope=scope, **kwargs)
2416s
2416s -- Docs:
https://docs.pytest.org/en/stable/how-to/capture-warnings.html
More information about the debian-science-maintainers
mailing list