From dc5b5c48e7454fe22cf98ddac60ff85107226f6a Mon Sep 17 00:00:00 2001 From: Michael Penkov Date: Wed, 12 Jun 2024 11:09:06 +0900 Subject: [PATCH] pin numpy < 2.0 --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 91faeb6e1e..be7f58330b 100644 --- a/setup.py +++ b/setup.py @@ -324,7 +324,10 @@ def run(self): 'pandas', ] -NUMPY_STR = 'numpy >= 1.18.5' +# +# see https://github.com/piskvorky/gensim/pull/3535 +# +NUMPY_STR = 'numpy >= 1.18.5, < 2.0' install_requires = [ NUMPY_STR,