From ec3c91c9d6410f614bec6af9eae7aaab1b4ad940 Mon Sep 17 00:00:00 2001 From: Michael Dawson-Haggerty Date: Thu, 24 Aug 2023 16:38:14 -0400 Subject: [PATCH] numpy versions for python3.12 from BerkeleyAutomation/python-fcl#70 --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3c8773f..a381afe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,11 @@ [build-system] -requires = ["setuptools>=59.0", "cython<3", "numpy"] +requires = [ + "setuptools>=59.0", + "Cython<3.0", + "oldest-supported-numpy; python_version<'3.12'", + "numpy>=1.26.0b1; python_version>='3.12'" +] + build-backend = "setuptools.build_meta" [project]