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

#2500 Bump Requirement: pyvista >= 0.38.1 #2535

Merged
merged 2 commits into from
Nov 27, 2023
Merged

#2500 Bump Requirement: pyvista >= 0.38.1 #2535

merged 2 commits into from
Nov 27, 2023

Conversation

beppo-dd
Copy link
Contributor

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.

This should solve #2500.

To be very safe, someone should check the builded package.

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.
@beppo-dd beppo-dd requested a review from a team as a code owner November 24, 2023 23:40
@beppo-dd beppo-dd requested review from germa89 and clatapie November 24, 2023 23:40
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@germa89
Copy link
Collaborator

germa89 commented Nov 27, 2023

Hi @beppo-dd

I think I wasn't clear enough in my previous message... You should not be working from a forked repository. Since you have been added as collaborator, now you can clone the pymapdl repository itself and do PRs directly there. Without using your fork.
Because forks never have access to repository secrets regardless the person permissions/roles.

I feel very bad you need to close and reopen this PR. So I will go ahead and just merge.

Again, thank you a lot for your contribution and I hope this CICD quirks do not discourage you to keep contributing to PyMAPDL.

Copy link
Collaborator

@germa89 germa89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank a lot!

@germa89 germa89 merged commit e90c753 into ansys:main Nov 27, 2023
19 of 25 checks passed
@beppo-dd beppo-dd deleted the fix/pyvista-version-to-0.38.1 branch November 27, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants