From 1ac7e4e1b8a9cfe91a5ebf46bcdd69228d8cb03e Mon Sep 17 00:00:00 2001 From: Juho Inkinen <34240031+juhoinkinen@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:20:23 +0300 Subject: [PATCH] Add upper limit scipy versions <1.14 --- pyproject.toml | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5abdf82efb..f687f0af10 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'", "scipy", "setuptools", "wheel", diff --git a/setup.py b/setup.py index be7f58330b..6cac7fdffd 100644 --- a/setup.py +++ b/setup.py @@ -331,7 +331,7 @@ def run(self): install_requires = [ NUMPY_STR, - 'scipy >= 1.7.0', + 'scipy >= 1.7.0, <1.14', 'smart_open >= 1.8.1', ]