From af268973138691f8623272eb9a9dd1a71431eba2 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 21 Nov 2023 16:17:53 +0400 Subject: [PATCH] Bumpy numpy and shap (#636) --- requirements-dev.txt | 6 ++---- requirements.txt | 4 +--- setup.py | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 286d054..aeeb7d3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,9 +4,7 @@ elasticsearch>=8.3,<9 pandas>=1.5,<2 matplotlib>=3.6 -# Shap is incompatible with NumPy >= 1.24 (elastic/eland#539) -# Fix NumPy to a known good range of versions -numpy>=1.2.0,<1.24 +numpy>=1.2.0,<2 tqdm<5 # @@ -31,7 +29,7 @@ pytest>=5.2.1 pytest-mock pytest-cov nbval -shap==0.41.0 +shap==0.43.0 # # Docs diff --git a/requirements.txt b/requirements.txt index a62f2ae..1f88500 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,4 @@ elasticsearch>=8.3,<9 pandas>=1.5,<2 matplotlib>=3.6 -# Shap is incompatible with NumPy >= 1.24 (elastic/eland#539) -# Fix NumPy to a known good range of versions -numpy>=1.2.0,<1.24 +numpy>=1.2.0,<2 diff --git a/setup.py b/setup.py index bcc3729..0d8ab33 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ setup( "elasticsearch>=8.3,<9", "pandas>=1.5,<2", "matplotlib>=3.6", - "numpy>=1.2.0,<1.24", + "numpy>=1.2.0,<2", "packaging", ], entry_points={