From ec7ec33e66f1f08a580bf2bcfd05a99ee2fbf30c Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Thu, 5 Oct 2023 02:06:46 +0200 Subject: [PATCH] MAINT: Define `NPY_TARGET_VERSION` Currently unused, but should be relevant once we build agains numpy 2.0 --- libint/py_compute_integrals.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libint/py_compute_integrals.cc b/libint/py_compute_integrals.cc index f8abdce9..fbe7881f 100644 --- a/libint/py_compute_integrals.cc +++ b/libint/py_compute_integrals.cc @@ -10,6 +10,7 @@ #define PY_SSIZE_T_CLEAN #define Py_LIMITED_API 0x03080000 #define NPY_NO_DEPRECATED_API NPY_1_17_API_VERSION +#define NPY_TARGET_VERSION NPY_1_17_API_VERSION #include #include