-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
ensured building against numpy>=2 #804
Conversation
numpy 2 introduced quite some changes: - API - deprecated methods - casting behaviour - tolerances in some methods All of the above required both internal changes, but also changes directly related to the tests. The CI script for GA has changed drastically. I am quite annoyed that this requires that much attention, I am constantly battling inconsistent fortran handling and other parts. Now I have changed (again) to setup-fortran. However, this jumps the deployment target for Mac users. Thus bumping up the required OS for Mac users. I hope this won't cause too much trouble. Signed-off-by: Nick Papior <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #804 +/- ##
===========================================
- Coverage 87.10% 66.23% -20.87%
===========================================
Files 401 401
Lines 51789 51714 -75
===========================================
- Hits 45111 34253 -10858
- Misses 6678 17461 +10783 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Nick Papior <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
@@ -711,8 +711,8 @@ | |||
r = _a.asarray(r) | |||
s = r.shape[:-1] | |||
# Convert to spherical coordinates | |||
n, idx, r, theta, phi = cart2spher(r, theta=m != 0, cos_phi=True, maxR=self.R) | |||
p = _a.zerosd(n) | |||
idx, r, theta, phi = cart2spher(r, theta=m != 0, cos_phi=True, maxR=self.R) |
Check failure
Code scanning / CodeQL
Mismatch in multiple assignment Error
tuple
r, theta=self.m != 0, cos_phi=True, maxR=self.R | ||
) | ||
p = _a.zerosd(n) | ||
idx, r, theta, phi = cart2spher(r, theta=self.m != 0, cos_phi=True, maxR=self.R) |
Check failure
Code scanning / CodeQL
Mismatch in multiple assignment Error
tuple
Signed-off-by: Nick Papior <[email protected]>
numpy 2 introduced quite some changes:
All of the above required both internal changes,
but also changes directly related to the tests.
The CI script for GA has changed drastically.
I am quite annoyed that this requires that much
attention, I am constantly battling inconsistent
fortran handling and other parts.
Now I have changed (again) to setup-fortran.
However, this jumps the deployment target for Mac
users. Thus bumping up the required OS for Mac users. I hope this won't cause too much trouble.
isort .
andblack .
[24.2.0] at top-leveldocs/
CHANGELOG.md