[CI] Fix CI with updated dependencies. (#8631)
* [CI] Fix CI with updated dependencies. - Fix jvm package get iris. * Skip SHAP test for now. * Revert "Skip SHAP test for now." This reverts commit 9aa28b4d8aee53fa95d92d2a879c6783ff4b2faa. * Catch all exceptions.
This commit is contained in:
@@ -5,7 +5,7 @@ import xgboost as xgb
|
||||
|
||||
try:
|
||||
import shap
|
||||
except ImportError:
|
||||
except Exception:
|
||||
shap = None
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user