From 888307adac03e361596aaad618403d985545fbde Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 00:29:48 +0000 Subject: [PATCH] Update numpy requirement from <2.0.0 to <3.0.0 Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.16.2...v2.2.0) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements/docs.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/docs.txt b/requirements/docs.txt index ba6eb8a1c..78b34cfff 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -17,4 +17,4 @@ shap>=0.40.0, <0.44.0 # https://github.com/SeldonIO/alibi/issues/333 # alibi dependencies (these are installed on ReadTheDocs so are not mocked) typing-extensions>=3.7.4.3 #AttributeError: `np.obj2sctype` was removed in the NumPy 2.0 release. Use `np.dtype(obj).type` instead. -numpy<2.0.0 \ No newline at end of file +numpy<3.0.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 9b9c5fa68..1c7a52ca8 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def readme(): python_requires='>=3.9', # lower bounds based on Debian Stable versions where available install_requires=[ - 'numpy>=1.16.2, <2.0.0', + 'numpy>=1.16.2, <3.0.0', 'pandas>=1.0.0, <3.0.0', 'scikit-learn>=1.0.0, <2.0.0', 'spacy[lookups]>=2.0.0, <3.8.0', # later versions depend on `numpy<3.0.0,>=2.0.0`