Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update shap requirement from <0.43.0,>=0.40.0 to >=0.40.0,<0.44.0 #974

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.43.0 # https://github.com/SeldonIO/alibi/issues/333
shap>=0.40.0, <0.44.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)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ 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.43.0', # versioning: https://github.com/SeldonIO/alibi/issues/333
'shap>=0.40.0, <0.44.0', # versioning: https://github.com/SeldonIO/alibi/issues/333
'numba>=0.50.0, !=0.54.0, <0.59.0', # Avoid 0.54 due to: https://github.com/SeldonIO/alibi/issues/466
],

'tensorflow': ['tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.14.0'],
'torch': ['torch>=1.9.0, <3.0.0'],
'all': [
'ray>=0.8.7, <3.0.0',
'shap>=0.40.0, <0.43.0',
'shap>=0.40.0, <0.44.0',
'numba>=0.50.0, !=0.54.0, <0.59.0',
'tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.14.0',
'torch>=1.9.0, <3.0.0'
Expand Down