python3Packages.skops: Disable tests throwing a deprecation warning (#542005)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-18 23:23:39 +00:00
committed by GitHub

View File

@@ -61,6 +61,14 @@ buildPythonPackage (finalAttrs: {
};
enabledTestPaths = [ "skops" ];
# Override the overly strict pyproject.toml:tool.pytest.ini_options.filterwarnings
# https://github.com/skops-dev/skops/issues/523
pytestFlags = [
"-W"
"ignore::FutureWarning"
"-W"
"ignore::DeprecationWarning"
];
disabledTests = [
# fairlearn is not available in nixpkgs