Closed
Description
seen on #13205, e.g. at https://github.com/mne-tools/mne-python/actions/runs/14406355499/job/40403814995?pr=13205#step:16:8356
pytest.PytestDeprecationWarning:
Module 'pyvista' was found, but when imported by pytest it raised:
ImportError("cannot import name 'vtkCapsuleSource' from 'vtkmodules.vtkFiltersSources' (/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/vtkmodules/vtkFiltersSources.cpython-312-x86_64-linux-gnu.so)")
In pytest 9.1 this warning will become an error by default.
You can fix the underlying problem, or alternatively overwrite this behavior and silence this warning by passing exc_type=ImportError explicitly.
Metadata
Metadata
Assignees
Labels
No labels