Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pyvista from 0.38.5 to 0.40.0 #426

Closed
wants to merge 15 commits into from
Closed
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_black
import numpy as np
import pyvista
from pyvista.plotting.utilities.sphinx_gallery import DynamicScraper

from ansys.dpf.post import __version__

Expand Down Expand Up @@ -54,6 +55,7 @@
"sphinx.ext.todo",
"sphinx_copybutton",
"sphinx_gallery.gen_gallery",
'pyvista.ext.viewer_directive',
PProfizi marked this conversation as resolved.
Show resolved Hide resolved
]

typehints_defaults = "comma"
Expand Down Expand Up @@ -143,7 +145,7 @@
"backreferences_dir": None,
# Modules for which function level galleries are created. In
"doc_module": "ansys-dpf-post",
"image_scrapers": ("pyvista", "matplotlib"),
"image_scrapers": (DynamicScraper(), "matplotlib"),
# 'first_notebook_cell': ("%matplotlib inline\n"
# "from pyvista import set_plot_theme\n"
# "set_plot_theme('document')"),
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Source = "https://github.com/ansys/pydpf-post"

[project.optional-dependencies]
plotting = [
"pyvista>=0.24.0, <0.40.0",
'pyvista[jupyter, trame]>=0.24.0, <0.41.0; python_version>"3.7"',
'pyvista>=0.24.0, <=0.38.5; python_version<"3.8"',
]

[tool.pytest.ini_options]
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pyvista[jupyter, trame]==0.40.0
pypandoc==1.10
imageio==2.31.0
numpydoc==1.4.0
Expand Down
3 changes: 2 additions & 1 deletion requirements/requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ coverage==7.2.7
pytest-cov==4.0.0
pytest-rerunfailures==11.0
pytest==7.3.1
pyvista==0.38.5
pyvista[jupyter, trame]==0.40.0; python_version>"3.7"
pyvista==0.38.5; python_version<"3.8"