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

BLD: future-compat issue with numpy (numpy 1.7 deprecated C API) #4606

Closed
neutrinoceros opened this issue Jul 28, 2023 · 1 comment · Fixed by #4607
Closed

BLD: future-compat issue with numpy (numpy 1.7 deprecated C API) #4606

neutrinoceros opened this issue Jul 28, 2023 · 1 comment · Fixed by #4607
Labels
build related to the build process
Milestone

Comments

@neutrinoceros
Copy link
Member

neutrinoceros commented Jul 28, 2023

Bug report

Bug summary

We've had build-time warnings "Using deprecated NumPy API..." for ever, and until recently there was nothing to be done about it, because the C code using deprecating numpy API was generated by Cython and there was no way to prevent that. However it's now possible with Cython 3.0.

It's not clear exactly when Numpy 1.7 deprecated API will be dropped but with numpy 2.0 around the corner, I'd expect it sooner rather than later.

@neutrinoceros neutrinoceros added the infrastructure Related to CI, versioning, websites, organizational issues, etc label Jul 28, 2023
@neutrinoceros
Copy link
Member Author

Here's the relevant NEP: https://numpy.org/neps/nep-0053-c-abi-evolution.html

@neutrinoceros neutrinoceros changed the title BLD: future-compat issue with numpy BLD: future-compat issue with numpy (numpy 1.7 deprecated C API) Jul 28, 2023
@neutrinoceros neutrinoceros added build related to the build process and removed infrastructure Related to CI, versioning, websites, organizational issues, etc labels Jul 31, 2023
@neutrinoceros neutrinoceros added this to the 4.3.0 milestone Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build related to the build process
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant