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

Build using NumPy 2.0 #20

Open
peterjc opened this issue Jan 1, 2024 · 0 comments
Open

Build using NumPy 2.0 #20

peterjc opened this issue Jan 1, 2024 · 0 comments

Comments

@peterjc
Copy link
Member

peterjc commented Jan 1, 2024

Quoting https://github.com/numpy/numpy/blob/main/doc/source/dev/depending_on_numpy.rst under build-time dependencies:

Before NumPy 1.25, the NumPy C-API was not backwards compatible. This means that when compiling with a NumPy version earlier than 1.25 you have to compile with the oldest version you wish to support. This can be done by using oldest-supported-numpy. Please see the NumPy 1.24 documentation.

We have been building against the older possible NumPy v1 as per the opening paragraph quoted.

However, according to the numpy mailing lists etc, I understand that once NumPy v2 is out, we should build or wheels using that in order to be compatible with both NumPy 1.x and 2.x. The documentation at the link above will likely be updated soon...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant