Skip to content
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

Support numpy 2.0 #890

Open
kbattocchi opened this issue Jun 26, 2024 · 1 comment
Open

Support numpy 2.0 #890

kbattocchi opened this issue Jun 26, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@kbattocchi
Copy link
Collaborator

kbattocchi commented Jun 26, 2024

numpy 2.0 has been released, which has breaking changes with numpy 1.*. However, at least in theory it should be possible to support both numpy 1 and numpy 2 at runtime if wheels are built with numpy 2.

For the most part, this will entail replacing oldest-supported-numpy with numpy>=2 in the build-system/requires portion of pyproject.toml; however we should only do this for python_version>='3.9', since numpy 2 will not be released on python 3.8 and we're still supporting that for now.

However, there may also be changes required to our native tree code, since that relies on parts of the numpy API that may have had backwards-incompatible changes.

@kbattocchi kbattocchi added the help wanted Extra attention is needed label Jun 26, 2024
@rootsmusic
Copy link

Tracking at numpy/numpy#26191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants