Skip to content

Commit

Permalink
Remove workaround for downlevel shap
Browse files Browse the repository at this point in the history
  • Loading branch information
kbattocchi committed Apr 5, 2022
1 parent 564af9e commit 96d7292
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
# Work around https://github.com/pypa/pip/issues/9542
- script: 'pip install -U numpy~=1.21.0'
displayName: 'Upgrade numpy'

- script: 'pip install pytest pytest-runner jupyter jupyter-client nbconvert nbformat seaborn xgboost tqdm && pip list && python setup.py pytest'
displayName: 'Unit tests'
env:
Expand Down Expand Up @@ -126,12 +126,6 @@ jobs:
# Work around https://github.com/pypa/pip/issues/9542
- script: 'pip install -U numpy~=1.21.0'
displayName: 'Upgrade numpy'

# shap 0.39 and sklearn 1.0 interact badly in these notebooks
# shap 0.40 has a bug in waterfall (https://github.com/slundberg/shap/issues/2283) that breaks our main tests
# but fixes the interaction here...
- script: 'pip install -U shap~=0.40.0'
displayName: 'Upgrade shap'

- script: 'pip install pytest pytest-runner jupyter jupyter-client nbconvert nbformat seaborn xgboost tqdm && python setup.py pytest'
displayName: 'Unit tests'
Expand Down

0 comments on commit 96d7292

Please sign in to comment.