Skip to content

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

Closed

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.

Activity

  1. larsoner commented on Apr 11, 2025

    @larsoner
    Member

    Almost certainly related to PyVista just merging a PR for VTK 9.4.1 support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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