From aa765cde7abcf1c3b6eafcad8381f31399db9d45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 00:42:23 +0000 Subject: [PATCH] Update shap requirement from <0.44.0,>=0.40.0 to >=0.46.0,<0.47.0 Updates the requirements on [shap](https://github.com/shap/shap) to permit the latest version. - [Release notes](https://github.com/shap/shap/releases) - [Changelog](https://github.com/shap/shap/blob/master/docs/release_notes.rst) - [Commits](https://github.com/shap/shap/compare/v0.40.0...v0.46.0) --- updated-dependencies: - dependency-name: shap dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements/docs.txt | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements/docs.txt b/requirements/docs.txt index a2d20bdeb..0137479e9 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -11,7 +11,7 @@ ipykernel>=5.1.0, <7.0.0 # required for executing notebooks via nbsphinx ipython>=7.2.0, <9.0.0 # required for executing notebooks nbsphinx # dependencies required for imports to work and docs to render properly (as mocking doesn't work well) # these should be identical to the ones in `setup.py` or `dev.txt` -shap>=0.40.0, <0.44.0 # https://github.com/SeldonIO/alibi/issues/333 +shap>=0.46.0, <0.47.0 # https://github.com/SeldonIO/alibi/issues/333 # pandoc # pandoc==2.9.2.1 # NB: as this is not a Python library, it should be installed manually on the system or via a package manager such as `conda` # alibi dependencies (these are installed on ReadTheDocs so are not mocked) diff --git a/setup.py b/setup.py index 050a1012b..84dc34220 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def readme(): 'ray': ['ray>=0.8.7, <3.0.0'], # shap is separated due to build issues, see https://github.com/slundberg/shap/pull/1802 'shap': [ - 'shap>=0.40.0, <0.44.0', # versioning: https://github.com/SeldonIO/alibi/issues/333 + 'shap>=0.46.0, <0.47.0', # versioning: https://github.com/SeldonIO/alibi/issues/333 'numba>=0.50.0, !=0.54.0, <0.60.0', # Avoid 0.54 due to: https://github.com/SeldonIO/alibi/issues/466 ], @@ -21,7 +21,7 @@ def readme(): 'torch': ['torch>=1.9.0, <3.0.0'], 'all': [ 'ray>=0.8.7, <3.0.0', - 'shap>=0.40.0, <0.44.0', + 'shap>=0.46.0, <0.47.0', 'numba>=0.50.0, !=0.54.0, <0.60.0', 'tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.15.0', 'torch>=1.9.0, <3.0.0'