-
Notifications
You must be signed in to change notification settings - Fork 30
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
Numpy2 #982
Numpy2 #982
Conversation
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.
The diff looks reasonable to me - thanks! For some reason there is one build that is still failing - any idea why that is?
I'm not entirely sure, but there's a high chance that NumPy no longer supports building i686 wheels. See, for example: duckdb/duckdb#9101 This would make sense, as the CI fails specifically at Honestly, I have no idea how to resolve this. One option is to enforce using NumPy < 2.0 when building wheels for i686, or to drop support for i686 entirely. Here's what I found in NumPy's
|
ok, then I'm ok with just adding to skip as well in this case. Anyone with that scenario can try to build from source as we used to do before #952 |
…on't need to handle the decode logic manually
Done! This time it passes all the tests. I added |
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.
LGTM - thanks for the fix!
* Fix support for numpy 2.0. [#982] --------- Co-authored-by: mwrona77 <125769279+mwrona77@users.noreply.github.com> Co-authored-by: Marcin Wrona <mwrona@villanova.edu>
commit 7a2d8fb Author: Kyle Conroy <kyleconroy@gmail.com> Date: Wed Nov 20 16:06:44 2024 -0500 prepare readme and changelog for 2.4.18 bugfix commit 84f9585 Author: Kyle Conroy <kyleconroy@gmail.com> Date: Wed Nov 20 16:05:30 2024 -0500 2.4.17 release (#985) * Fix support for numpy 2.0. [#982] --------- Co-authored-by: mwrona77 <125769279+mwrona77@users.noreply.github.com> Co-authored-by: Marcin Wrona <mwrona@villanova.edu>
This is my first pull request on GitHub, so if I did something wrong, consider it a rookie mistake.
Since part of my issue involved changing
np.product
tonp.prod
, I made that adjustment separately from @giammarc.Although this change was enough for all the tests to pass, there were a lot of warnings, mostly about the deprecation of certain functions. All other code changes I made are specifically to eliminate these warnings.
I understand that the next step is CI, but I assume that to run the tests, I need to make this pull request. Or should I have done this earlier?
Closes https://github.com/phoebe-project/phoebe-development/issues/110
Reverts #930