From 73632427206b1cc7ae05959c8c875604421e62b5 Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Sat, 22 Apr 2023 21:47:44 +0100 Subject: DOC: Clarify that defining NPY_NO_DEPRECATED_API does not determine ABI compatibility (#23631) Closes gh-23610 [skip ci] --- doc/source/reference/c-api/deprecations.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/source/reference/c-api') diff --git a/doc/source/reference/c-api/deprecations.rst b/doc/source/reference/c-api/deprecations.rst index 5b1abc6f2..d805421f2 100644 --- a/doc/source/reference/c-api/deprecations.rst +++ b/doc/source/reference/c-api/deprecations.rst @@ -58,3 +58,7 @@ On compilers which support a #warning mechanism, NumPy issues a compiler warning if you do not define the symbol NPY_NO_DEPRECATED_API. This way, the fact that there are deprecations will be flagged for third-party developers who may not have read the release notes closely. + +Note that defining NPY_NO_DEPRECATED_API is not sufficient to make your +extension ABI compatible with a given NumPy version. See +:ref:`for-downstream-package-authors`. -- cgit v1.2.1