python3Packages.scikit-learn: 1.7.1 -> 1.7.2

https://scikit-learn.org/stable/whats_new/v1.7.html#version-1-7-2
This commit is contained in:
Martin Weinelt
2025-11-25 12:39:07 -08:00
committed by Robert Schütz
parent 03f76f410e
commit b8e3da5365
@@ -26,7 +26,7 @@ buildPythonPackage rec {
__structuredAttrs = true;
pname = "scikit-learn";
version = "1.7.1";
version = "1.7.2";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -34,16 +34,13 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "scikit_learn";
inherit version;
hash = "sha256-JLPx6XakZlqnTuD8qsK4/Mxq53yOB6sl2jum0ykrmAI=";
hash = "sha256-IOnkns0TBZjxyjih2FCQ4aYAFHucAvpvFdactT2Wj9o=";
};
postPatch = ''
substituteInPlace meson.build --replace-fail \
"run_command('sklearn/_build_utils/version.py', check: true).stdout().strip()," \
"'${version}',"
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2,<2.3.0" numpy \
--replace-fail "scipy>=1.8.0,<1.16.0" scipy
'';
buildInputs = [