From 135d5aee1327827cd8d58b3ab777207644d3ea05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=A9cio=20Santos?= Date: Thu, 23 May 2024 19:13:14 -0400 Subject: [PATCH] Temporarily ise scipy<1.13 to avoid import error of triu package Pinning scipy to version lower than 1.13 to avoid the following error: ImportError: cannot import name 'triu' from 'scipy.linalg' (/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/scipy/linalg/__init__.py) This version restriction can be removed when packages that depend on triu are fixed. See e.g.: - https://github.com/piskvorky/gensim/pull/3524 - https://github.com/scipy/scipy/issues/20402 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index b7bd6650..c847408a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,4 @@ scikit-learn tabulate flair requests +scipy<1.13