Skip to content

Commit 436bdcd

Browse files
Bump pyvista from 0.36.1 to 0.43.8 in /requirements (#1626)
* Update docs.yml * Bump pyvista 0.43.10 * dbg: install vtkos-mesa * ci: use ENV var for vtk-osmesa version --------- Co-authored-by: Jorge Martinez <[email protected]>
1 parent ec06e9e commit 436bdcd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ on:
4444
env:
4545
PACKAGE_NAME: ansys-dpf-core
4646
MODULE: core
47-
47+
VTK_OSMESA_VERSION: "9.2.20230527.dev0"
4848
jobs:
4949
doc-style:
5050
name: "Check doc style"
@@ -117,7 +117,7 @@ jobs:
117117
run: python -c "from ansys.dpf import core"
118118

119119
- name: "Setup headless display"
120-
uses: pyvista/setup-headless-display-action@v1
120+
uses: pyvista/setup-headless-display-action@v2
121121

122122
- name: "Setup Graphviz"
123123
uses: ts-graphviz/setup-graphviz@v1
@@ -133,6 +133,11 @@ jobs:
133133
- name: "Kill all servers"
134134
uses: ansys/pydpf-actions/[email protected]
135135

136+
- name: "Ensure VTK compatibility"
137+
run: |
138+
python -m pip uninstall --yes vtk
139+
python -m pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==${{ env.VTK_OSMESA_VERSION }}
140+
136141
- name: "List installed packages"
137142
shell: bash
138143
run: pip list

requirements/requirements_docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ imageio-ffmpeg==0.4.7
66
nbsphinx==0.9.3
77
pypandoc==1.13
88
pytest-sphinx==0.6.3
9-
pyvista==0.36.1
9+
pyvista==0.43.10
1010
sphinx==7.1.0
1111
sphinx-autobuild==2024.2.4
1212
sphinx-copybutton==0.5.2

0 commit comments

Comments
 (0)