diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8ec992580c..aa2c261823 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -44,7 +44,7 @@ on: env: PACKAGE_NAME: ansys-dpf-core MODULE: core - + VTK_OSMESA_VERSION: "9.2.20230527.dev0" jobs: doc-style: name: "Check doc style" @@ -117,7 +117,7 @@ jobs: run: python -c "from ansys.dpf import core" - name: "Setup headless display" - uses: pyvista/setup-headless-display-action@v1 + uses: pyvista/setup-headless-display-action@v2 - name: "Setup Graphviz" uses: ts-graphviz/setup-graphviz@v1 @@ -133,6 +133,11 @@ jobs: - name: "Kill all servers" uses: ansys/pydpf-actions/kill-dpf-servers@v2.3 + - name: "Ensure VTK compatibility" + run: | + python -m pip uninstall --yes vtk + python -m pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==${{ env.VTK_OSMESA_VERSION }} + - name: "List installed packages" shell: bash run: pip list diff --git a/requirements/requirements_docs.txt b/requirements/requirements_docs.txt index 6902abcaaa..4e2ffb2788 100644 --- a/requirements/requirements_docs.txt +++ b/requirements/requirements_docs.txt @@ -6,7 +6,7 @@ imageio-ffmpeg==0.4.7 nbsphinx==0.9.3 pypandoc==1.13 pytest-sphinx==0.6.3 -pyvista==0.36.1 +pyvista==0.43.10 sphinx==7.1.0 sphinx-autobuild==2024.2.4 sphinx-copybutton==0.5.2