-
Notifications
You must be signed in to change notification settings - Fork 229
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
deps: support numpy 2.0 #2391
deps: support numpy 2.0 #2391
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2391 +/- ##
=======================================
Coverage 86.77% 86.78%
=======================================
Files 234 234
Lines 44265 44271 +6
Branches 8183 8184 +1
=======================================
+ Hits 38410 38419 +9
+ Misses 5140 5137 -3
Partials 715 715 ☔ View full report in Codecov by Sentry. |
bb3cbc8
to
f7c7d5c
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
conftest.py
Outdated
@@ -453,3 +455,10 @@ def check_array(array, exp_halo, exp_shape, rotate=False): | |||
|
|||
assert tuple(array.halo) == exp_halo | |||
assert tuple(shape) == tuple(exp_shape) | |||
|
|||
|
|||
# Make Ipython use str for numpy dtypes |
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.
wow, is that necessary for numpy 2?
|
||
# Due to api changes in numpy 2.0, it requires sympy 1.12.1 at the minimum | ||
# Check if sympy is installed and enforce numpy version accordingly. | ||
# If sympy isn't installed, endforce sympy>=1.12.1 and numpy>=2.0 |
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.
"enforce"
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.
Uncontroversial, thanks
b906ee0
to
5df90ea
Compare
No description provided.