From 1008c13335d8116bb7caf018e3471508ae6eadda Mon Sep 17 00:00:00 2001 From: David Frenzel Date: Thu, 18 Jul 2024 10:52:20 +0200 Subject: [PATCH] Pin scipy in installation requirements as well to fix failing tests This completes the version pinning of scipy started in afbb82ea3446b5462a6ae1f5b02d338ff0170e5a The tests are currently failing because the build system runs the test against scipy==1.14.0 which doesn't have the required sparsetools (csc_matvecs, specifically) anymore. This commit makes sure that gensim also doesn't test against a version higher than 1.13.1. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index be7f58330b..f88f33801f 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.13.1', 'smart_open >= 1.8.1', ]