python313Packages.skops: update inputs

This commit is contained in:
Fabian Affolter
2025-08-28 10:04:08 +02:00
parent a88ed001fb
commit fba9afc2f6
@@ -1,16 +1,21 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hatchling,
pytestCheckHook,
pytest-cov-stub,
huggingface-hub,
matplotlib,
numpy,
packaging,
pandas,
prettytable,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
pyyaml,
rich,
scikit-learn,
stdenv,
streamlit,
tabulate,
}:
@@ -30,7 +35,9 @@ buildPythonPackage rec {
build-system = [ hatchling ];
dependencies = [
huggingface-hub
numpy
packaging
prettytable
scikit-learn
tabulate
];
@@ -38,19 +45,22 @@ buildPythonPackage rec {
nativeCheckInputs = [
matplotlib
pandas
pytestCheckHook
pytest-cov-stub
pytestCheckHook
pyyaml
streamlit
];
optional-dependencies = {
rich = [ rich ];
};
enabledTestPaths = [ "skops" ];
disabledTests = [
# flaky
"test_base_case_works_as_expected"
# fairlearn is not available in nixpkgs
"TestAddFairlearnMetricFrame"
];
disabledTestPaths = [
# try to download data from Huggingface Hub:
"skops/hub_utils/tests"
"skops/card/tests"
# minor output formatting issue
"skops/card/_model_card.py"
]