From 854237844b6c80fc7dd177cc8a263f2f68e7d61b Mon Sep 17 00:00:00 2001 From: Brent Pedersen Date: Mon, 17 Jun 2024 14:52:14 -0700 Subject: [PATCH] update pyproject.toml for numpy 2.0.0 #307 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a6db125..1b7a5d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,5 +4,6 @@ requires = [ "wheel", "cython>=0.23.3", 'oldest-supported-numpy; os_name != "nt" and python_version < "3.9"', - 'numpy>=2.0.0; os_name == "nt" and python_version >= "3.9"', + 'numpy; os_name == "nt" and python_version < "3.9"', + 'numpy>=2.0.0; python_version >= "3.9"', ]