-
Notifications
You must be signed in to change notification settings - Fork 123
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
Requirements: pyvista >= 0.38.1 needed #2500
Comments
Agreed regarding the minimum requirement. We're still using |
@akaszynski Thanks for your answer. I bumped the minimum requirement |
This was referenced Nov 24, 2023
Closed in #2535 |
germa89
added a commit
that referenced
this issue
Nov 29, 2023
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Actual, in the project meta data pyproject.toml under
dependencies
there is the requirementsee, 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.Solution
The dependency of pyvista must be bumped to
see Pull Request 2501.
Question: @akaszynski I am not sure, if the pyvista requirement .ci/requirements_test_xvfb.txt, line 1 needs also a change, can you please answer this question?
Steps to reproduce the problem
Steps:
py
and specifying the Python version 3.11:py -V:3.11 -m pip list --user
):py -V:3.11
):Steps to simulate the solution of the problem
py -V:3.11
):Now, there is no ImportError exception during the import anymore.
The text was updated successfully, but these errors were encountered: