diff options
author | scoder <stefan_ml@behnel.de> | 2020-08-05 06:28:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 07:28:30 +0300 |
commit | e1211b83062881d34790f45bd666a62cf00292a3 (patch) | |
tree | 6b01a4157cdd4ce427a74a8a149f0bfd45415a2b /doc/release | |
parent | e2428594b77aef952610f930bacf4085ef1fcdf9 (diff) | |
download | numpy-e1211b83062881d34790f45bd666a62cf00292a3.tar.gz |
ENH: Add NumPy declarations to be used by Cython 3.0+ (#16986)
* Create copy of numpy.pxd for Cython 3.0 changes and improve it.
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/16986.improvement.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/16986.improvement.rst b/doc/release/upcoming_changes/16986.improvement.rst new file mode 100644 index 000000000..391322d9d --- /dev/null +++ b/doc/release/upcoming_changes/16986.improvement.rst @@ -0,0 +1,7 @@ +Add NumPy declarations for Cython 3.0 and later +----------------------------------------------- + +The pxd declarations for Cython 3.0 were improved to avoid using deprecated +NumPy C-API features. Extension modules built with Cython 3.0+ that use NumPy +can now set the C macro ``NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION`` to avoid +C compiler warnings about deprecated API usage. |