From 03aeb11f3bf31ae2374f56fbbdac9b83d20072a8 Mon Sep 17 00:00:00 2001 From: AmirHossein Date: Thu, 7 Nov 2024 11:48:42 +0330 Subject: [PATCH] Upgrade numpy to last minor version before 2.0 --- pyproject.toml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5c5b5bdd13..1200f06c8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires = [ "Cython>=0.29.32,<3.0.0", # oldest supported Numpy for this platform is 1.17 but the oldest supported by Gensim # is 1.18.5, remove the line when they increase oldest supported Numpy for this platform - "numpy>=1.25.2, <2.0.0; python_version>='3.9'", + "numpy>=1.26.4, <2.0.0; python_version>='3.9'", "setuptools", "wheel", ] diff --git a/setup.py b/setup.py index f1dff86f09..a4688969be 100644 --- a/setup.py +++ b/setup.py @@ -327,7 +327,7 @@ def run(self): # # see https://github.com/piskvorky/gensim/pull/3535 # -NUMPY_STR = 'numpy >= 1.25.0, < 2.0' +NUMPY_STR = 'numpy >= 1.26.0, < 2.0' install_requires = [ NUMPY_STR,