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

Numpy 2 update temporary fixes #152

Merged
merged 5 commits into from
Sep 23, 2024
Merged

Numpy 2 update temporary fixes #152

merged 5 commits into from
Sep 23, 2024

Conversation

EnricoTrizio
Copy link
Collaborator

@EnricoTrizio EnricoTrizio commented Sep 20, 2024

Description

After Numpy's new releases, a few bugs appeared that are related to Numpy and its interaction with Pytorch.
After a couple of weeks they still have not been fixed, the tests are failing and the installation is then unstable.
A temporary fixed should be done.
This sets numpy<2 in the requirements for now because on macos numpy>2 just doesn't work with pytorch yet.

Also, it fixes preventively this silly issue related to Numpy>2

  • np.meshgrid output from list to tuple made compute_fes crash

Questions

  • Is it ok to keep numpy<2 and open an issue to check in the future if the problem is fixed?

Status

  • Ready to go

@EnricoTrizio EnricoTrizio added the bug Something isn't working label Sep 20, 2024
Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.56%. Comparing base (d24ed62) to head (a92d518).
Report is 6 commits behind head on main.

Additional details and impacted files

@EnricoTrizio EnricoTrizio changed the title Numpy update fixes Numpy 2 update issues Sep 20, 2024
@EnricoTrizio EnricoTrizio changed the title Numpy 2 update issues Numpy 2 update temporary fixes Sep 20, 2024
@EnricoTrizio EnricoTrizio mentioned this pull request Sep 23, 2024
@EnricoTrizio EnricoTrizio merged commit 69e702e into main Sep 23, 2024
12 checks passed
@EnricoTrizio EnricoTrizio deleted the test_fixes branch September 23, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant