From e90c7531c8ebad4601d1bf5a1b0df9b67003631f Mon Sep 17 00:00:00 2001 From: beppo-dd <53090100+beppo-dd@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:18:16 +0100 Subject: [PATCH] #2500 Bump Requirement: pyvista >= 0.38.1 (#2535) Before in the project meta data pyproject.toml under dependencies there is the requirement `pyvista>=0.33.0`, see pyproject.toml, line 38. But, this old version 0.33.0 lacks the function pyvista.plotting.colors.get_cycler which ansys.mapdl.core.theme, line 16 wants to import. This functions was just introduced in pyvista 0.38.1 with pull #3739, see definition of get_cycler in the corresponding diff. Bump pyvista >= 0.38.1 also for .ci\requirements_test_xvfb.txt As this is still used in three locations in GitHub workflows. Co-authored-by: German <28149841+germa89@users.noreply.github.com> --- .ci/requirements_test_xvfb.txt | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/requirements_test_xvfb.txt b/.ci/requirements_test_xvfb.txt index f8796db086..b71aad765f 100644 --- a/.ci/requirements_test_xvfb.txt +++ b/.ci/requirements_test_xvfb.txt @@ -1 +1 @@ -pyvista>=0.27.2 +pyvista>=0.38.1 diff --git a/pyproject.toml b/pyproject.toml index b196b3f25b..1be0ac963c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "pyansys-tools-versioning>=0.3.3", "ansys-tools-path>=0.3.1", "pyiges[full]>=0.3.1", # Since v0.3.0, the 'full' flag is needed in order to install 'geomdl' - "pyvista>=0.33.0", + "pyvista>=0.38.1", "scipy>=1.3.0", # for sparse (consider optional?) "tqdm>=4.45.0", "vtk>=9.0.0",