forked from mirrors/nixpkgs
Merge pull request #288261 from fabaff/shap-test
python311Packages.shap: disable tests and reduce pythonImportsCheck
This commit is contained in:
commit
2678b7996e
|
@ -116,6 +116,9 @@ buildPythonPackage rec {
|
|||
xgboost
|
||||
];
|
||||
|
||||
# Test startup hangs with 0.43.0 and Hydra ends with a timeout
|
||||
doCheck = false;
|
||||
|
||||
disabledTestPaths = [
|
||||
# The resulting plots look sane, but does not match pixel-perfectly with the baseline.
|
||||
# Likely due to a matplotlib version mismatch, different backend, or due to missing fonts.
|
||||
|
@ -133,15 +136,6 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [
|
||||
"shap"
|
||||
"shap.explainers"
|
||||
"shap.explainers.other"
|
||||
"shap.plots"
|
||||
"shap.plots.colors"
|
||||
"shap.benchmark"
|
||||
"shap.maskers"
|
||||
"shap.utils"
|
||||
"shap.actions"
|
||||
"shap.models"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue