From 272a10a721a764e684706737cf19b44613da0aea Mon Sep 17 00:00:00 2001 From: Sven Hertling Date: Sun, 15 Sep 2024 13:23:35 +0200 Subject: [PATCH] updated requirements.txt for python dependencies because gensim is relying on triu function from scipy.linalg which is deprecated see https://stackoverflow.com/questions/78279136/importerror-cannot-import-name-triu-from-scipy-linalg-when-importing-gens --- matching-ml/src/main/resources/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/matching-ml/src/main/resources/requirements.txt b/matching-ml/src/main/resources/requirements.txt index 1b395ec788..2b65e88339 100644 --- a/matching-ml/src/main/resources/requirements.txt +++ b/matching-ml/src/main/resources/requirements.txt @@ -1,4 +1,5 @@ gensim==4.3.1 +scipy<1.13 # because of gensim -> see https://stackoverflow.com/questions/78279136/importerror-cannot-import-name-triu-from-scipy-linalg-when-importing-gens flask>=2.0 Werkzeug<=2.2.3 # necessary because starting from 2.3.0 the webserver do not get the request headers numpy>=1.11.3