From 96d729200f412282fd2a57a6d5e0893cbbc106e6 Mon Sep 17 00:00:00 2001 From: Keith Battocchi Date: Tue, 5 Apr 2022 12:58:11 -0400 Subject: [PATCH] Remove workaround for downlevel shap --- azure-pipelines.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ff9b84a82..7f6282ae3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: @@ -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'