NumPy v2 support #1630
Replies: 3 comments 4 replies
-
Hey @gbolmier, could you give a hand with this? I think that we can dump |
Beta Was this translation helpful? Give feedback.
-
Or maybe @e10e3 if you have some time on your hands? |
Beta Was this translation helpful? Give feedback.
-
If I can receive a green signal, I can open a PR and keep access to my branch enabled for maintainers to push changes to (in the case where I'm unable to finish it) or pick up my changes from. I don't see anything troubling with |
Beta Was this translation helpful? Give feedback.
-
Description
Hi all, I'm coming via pyodide/pyodide#4925 where we are trying to update the
river
package that gets built in-tree for the Pyodide distribution via Emscripten. I noticed thatriver
does not support NumPy 2.0 yet – I'm not aware of the history behind the pin, but I've also seen that Cython is also pinned to <3, which means that building against NumPy v2 as a build-time dependency isn't possible until that pin gets lifted (and this has come up elsewhere as well, such as #1624 (comment) and conda-forge/river-feedstock#28). Considering that a lot of packages in the ecosystem now have wheels that support NumPy v2 and are built against it (please see numpy/numpy#26191), I've been working on a branch locally to test out these changes, and I'm able to build without much trouble on a macOS M-series device with Cython 3.0.11 and NumPy 2.1.3 with most tests passing. Please let me know if it's alright to put together a pull request, and I'll do so! Thanks!Additionally, it would be great to get a release with NumPy 2.0 compatible wheels for the convenience of downstream packagers like us, so that we can point to the release's source distribution to build from, apply patches, etc.
Additional context for readers
Beta Was this translation helpful? Give feedback.
All reactions