From afbb82ea3446b5462a6ae1f5b02d338ff0170e5a Mon Sep 17 00:00:00 2001 From: Michael Penkov Date: Thu, 18 Jul 2024 11:46:07 +0900 Subject: [PATCH] pin scipy, need deprecated sparsetools --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5abdf82efb..3d807b3574 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,10 @@ 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'", - "scipy", + # + # SciPy 1.14.0 onwards removed the deprecated sparsetools submodule needed by gensim.models.lsimodel + # + "scipy<=1.13.1", "setuptools", "wheel", ]