Skip to content

new pip-pre CI failures for pyvista/vtk #13206

Closed
@drammock

Description

@drammock

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions