From fdcdc09fc6a44e6be2e01ee2ac4a588cf7017d5d Mon Sep 17 00:00:00 2001 From: Alexander Condello Date: Mon, 30 May 2022 09:25:05 -0700 Subject: [PATCH] Use oldest-supported-numpy in pyproject.toml Although we need some newer features of NumPy at runtime, we can safely build against the older headers. I was not able to detect any performance regressions from doing so either. See https://github.com/dwavesystems/dwave-ocean-sdk/issues/208 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7b1b4e933..09da9b86e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "setuptools>=46.4.0", "wheel", "Cython>=0.29.21,<3.0", - 'numpy~=1.21.0', + 'oldest-supported-numpy', ] build-backend = "setuptools.build_meta"