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`