diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/include/numpy/numpyconfig.h | 3 | ||||
-rw-r--r-- | numpy/core/setup_common.py | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/numpy/core/include/numpy/numpyconfig.h b/numpy/core/include/numpy/numpyconfig.h index b2e7c458e..6be87b774 100644 --- a/numpy/core/include/numpy/numpyconfig.h +++ b/numpy/core/include/numpy/numpyconfig.h @@ -63,6 +63,7 @@ #define NPY_1_20_API_VERSION 0x0000000e #define NPY_1_21_API_VERSION 0x0000000e #define NPY_1_22_API_VERSION 0x0000000f -#define NPY_1_23_API_VERSION 0x0000000f +#define NPY_1_23_API_VERSION 0x00000010 +#define NPY_1_24_API_VERSION 0x00000010 #endif /* NUMPY_CORE_INCLUDE_NUMPY_NPY_NUMPYCONFIG_H_ */ diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 44fa0a651..81a86728a 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -31,6 +31,8 @@ C_ABI_VERSION = 0x01000009 # (*not* C_ABI_VERSION) would be increased. Whenever binary compatibility is # broken, both C_API_VERSION and C_ABI_VERSION should be increased. # +# The version needs to be kept in sync with that in cversions.txt. +# # 0x00000008 - 1.7.x # 0x00000009 - 1.8.x # 0x00000009 - 1.9.x @@ -45,8 +47,9 @@ C_ABI_VERSION = 0x01000009 # 0x0000000e - 1.20.x # 0x0000000e - 1.21.x # 0x0000000f - 1.22.x -# 0x0000000f - 1.23.x -C_API_VERSION = 0x0000000f +# 0x00000010 - 1.23.x +# 0x00000010 - 1.24.x +C_API_VERSION = 0x00000010 class MismatchCAPIWarning(Warning): pass |