summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-04-25 10:49:19 +0200
committerSebastian Berg <sebastianb@nvidia.com>2023-04-25 11:18:04 +0200
commitc62881fa55fc830d16ac46bb1b91663266a8d94f (patch)
tree4941d6ec770d8fcf0103bead775f71c1e0c8d28e /numpy/core/include
parent1a2a1142198db34bd48532f3553c2db97a0f3985 (diff)
downloadnumpy-c62881fa55fc830d16ac46bb1b91663266a8d94f.tar.gz
DOC: Align default with what the NEP draft says
We have three choices: 1. Be compatible with limited API (oldest supported Python version) 2. Be compatible with everything on the same Python version (this) 3. Be strict and default to NEP 29 This just rephrases things to be 2. Because our API version was not bumped over the relevant time frame, it is actually also compatible with the first.
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/numpyconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/include/numpy/numpyconfig.h b/numpy/core/include/numpy/numpyconfig.h
index 457947bca..1c25aa5fc 100644
--- a/numpy/core/include/numpy/numpyconfig.h
+++ b/numpy/core/include/numpy/numpyconfig.h
@@ -122,8 +122,8 @@
/* user provided a target version, use it */
#define NPY_FEATURE_VERSION NPY_TARGET_VERSION
#else
- /* Use the default (should be increased over time) */
- #define NPY_FEATURE_VERSION NPY_1_17_API_VERSION
+ /* Use the default (increase when dropping Python 3.9 support) */
+ #define NPY_FEATURE_VERSION NPY_1_19_API_VERSION
#endif
/* Sanity check the (requested) feature version */