From 4f33a3a9bd4f3992c5058dc5924f6c83fee09ba3 Mon Sep 17 00:00:00 2001 From: Simon Zhao Date: Tue, 9 Jul 2024 11:43:09 +0800 Subject: [PATCH 1/2] Set scipy<=1.13.1 Signed-off-by: Simon Zhao --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b57ad28f2..fca62947c 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ install_requires = [ "category-encoders>=2.6.0,<3", # requires packaging - "cornac>=1.15.2,<2", # requires packaging, tqdm + "cornac>=1.15.2,<3", # requires packaging, tqdm "hyperopt>=0.2.7,<1", "lightgbm>=4.0.0,<5", "locust>=2.12.2,<3", # requires jinja2 @@ -42,7 +42,7 @@ "retrying>=1.3.4,<2", "scikit-learn>=1.2.0,<2", # requires scipy, and introduce breaking change affects feature_extraction.text.TfidfVectorizer.min_df "scikit-surprise>=1.1.3", - "scipy>=1.10.1", + "scipy>=1.10.1,<=1.13.1", "seaborn>=0.13.0,<1", # requires matplotlib, packaging "transformers>=4.27.0,<5", # requires packaging, pyyaml, requests, tqdm ] From 66d0de3c638b2ca6f6758545225d2f209d5286b3 Mon Sep 17 00:00:00 2001 From: Simon Zhao Date: Tue, 9 Jul 2024 15:20:17 +0800 Subject: [PATCH 2/2] Leave a comment as a reminder Signed-off-by: Simon Zhao --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fca62947c..631d6cd83 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ "retrying>=1.3.4,<2", "scikit-learn>=1.2.0,<2", # requires scipy, and introduce breaking change affects feature_extraction.text.TfidfVectorizer.min_df "scikit-surprise>=1.1.3", - "scipy>=1.10.1,<=1.13.1", + "scipy>=1.10.1,<=1.13.1", # FIXME: Remove scipy<=1.13.1 once cornac release a version newer than 2.2.1. See #2128 "seaborn>=0.13.0,<1", # requires matplotlib, packaging "transformers>=4.27.0,<5", # requires packaging, pyyaml, requests, tqdm ]