-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix NumPy 1.25 deprecation warnings #6969
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
Fix NumPy 1.25 deprecation warnings #6969
Conversation
0812663 to
74d533c
Compare
| perl -pi -e 's/numpy>=1.21.1/numpy>=1.21.1,<1.25/g' requirements/default.txt | ||
| perl -pi -e 's/numpy>=1.21.1/numpy>=1.21.1,<1.25/g' requirements/build.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those lines disable testing on NumPy 1.25. That is the point of 74d533c.
Without that the tests will continue to fail on main and on all PRs from main. The idea is to merge this PR and make a PR to remove those lines and figure out how to fix the remaining errors with NumPy 1.25.
stefanv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested a different spelling of all, otherwise LGTM.
Co-authored-by: Stefan van der Walt <[email protected]>
|
Thanks! |
This PR fixes
np.alltrueandnp.productdeprecation warnings for NumPy 1.25. It also disables testing on NumPy 1.25 due to changes that need to be more closely examined. If merged, I will create a new PR removing the NumPy upper pin for testing so we can sort through the issue without making the main branch and every new PR fail due to this known issue.