From 40d696759f21a5b66e50b667ef0acf2be019b6ae Mon Sep 17 00:00:00 2001 From: beppo-dd <53090100+beppo-dd@users.noreply.github.com> Date: Fri, 10 Nov 2023 17:59:00 +0100 Subject: [PATCH 1/2] #2500 Bump Requirement: pyvista >= 0.38.1 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. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8386027703..0ee0cbc774 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", From 891f494b232c766b28a5dcd200fe20ccdc6821a8 Mon Sep 17 00:00:00 2001 From: Daniel Gloger Date: Sun, 12 Nov 2023 16:53:51 +0100 Subject: [PATCH 2/2] Bump pyvista >= 0.38.1 also for .ci\requirements_test_xvfb.txt As this is still used in three locations in GitHub workflows. --- .ci/requirements_test_xvfb.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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