Skip to content

Commit a65a28c

Browse files
authored
Merge pull request numpy#27187 from h-vetinari/feature_default
MAINT: update default NPY_FEATURE_VERSION after dropping py39
2 parents aae64d8 + d70fe30 commit a65a28c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/_core/include/numpy/numpyconfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
/* user provided a target version, use it */
122122
#define NPY_FEATURE_VERSION NPY_TARGET_VERSION
123123
#else
124-
/* Use the default (increase when dropping Python 3.9 support) */
125-
#define NPY_FEATURE_VERSION NPY_1_19_API_VERSION
124+
/* Use the default (increase when dropping Python 3.10 support) */
125+
#define NPY_FEATURE_VERSION NPY_1_21_API_VERSION
126126
#endif
127127

128128
/* Sanity check the (requested) feature version */

0 commit comments

Comments
 (0)