Closed bjlittle closed 1 month ago
For avoidance of doubt, the cython 3.0 milestone (linked above) was closed Nov 2023 (!!)
Currently struggling to get a current example of the NPY_1_7_API_VERSION
warning - so that I can confirm I have successfully suppressed it! Due to log retention we no longer have any successful GHA examples, and when I build locally I don't get the warning.
Hoping #455 will produce what I need.
It did occur to me that NumPy might have removed the warning now that Cython has been around for a few months, but I cannot find any evidence of this:
Closed by #460
( was formerly : "drop cython language_level on v3.0.0" )
📰 Custom Issue
Once
cython
3.0.0 lands:cython
language_level
compiler directive (3str
will be the default behaviour)358
cython>=3.0
forconda
and PyPI depswarning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
, seeSee https://github.com/cython/cython/milestone/58