From dc1d7452b80a1949da724a46346aeac289a46630 Mon Sep 17 00:00:00 2001 From: Juho Inkinen <34240031+juhoinkinen@users.noreply.github.com> Date: Wed, 3 Jul 2024 10:16:26 +0300 Subject: [PATCH] Pin numpy<2.0 for Python 3.12 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5abdf82efb..d98ce38087 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ requires = [ # is 1.18.5, remove the line when they increase oldest supported Numpy for this platform "numpy==1.18.5; python_version=='3.8' and platform_machine not in 'arm64|aarch64'", "oldest-supported-numpy; python_version>'3.8' or platform_machine in 'arm64|aarch64'", + "numpy<2.0; python_version=='3.12' and platform_machine not in 'arm64|aarch64'", "scipy", "setuptools", "wheel",