python3Packages.scikit-learn: 1.7.0 -> 1.8.0

https://scikit-learn.org/stable/whats_new/v1.8.html#version-1-8-0
This commit is contained in:
Martin Weinelt
2026-02-01 16:40:36 +01:00
parent 313a018e32
commit 3c303efa2e
@@ -25,22 +25,23 @@ buildPythonPackage rec {
__structuredAttrs = true;
pname = "scikit-learn";
version = "1.7.2";
version = "1.8.0";
pyproject = true;
src = fetchPypi {
pname = "scikit_learn";
inherit version;
hash = "sha256-IOnkns0TBZjxyjih2FCQ4aYAFHucAvpvFdactT2Wj9o=";
hash = "sha256-m8y7O0Dj3hA1H49QaOEF0PQIOxpl+ge2Y0+8QBpih/0=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "Cython>=3.0.10,<3.2.0" "Cython>=3.0.10"
substituteInPlace meson.build --replace-fail \
"run_command('sklearn/_build_utils/version.py', check: true).stdout().strip()," \
"'${version}',"
substituteInPlace pyproject.toml \
--replace-fail "meson-python>=0.17.1,<0.19.0" meson-python \
--replace-fail "numpy>=2,<2.4.0" numpy \
--replace-fail "scipy>=1.10.0,<1.17.0" scipy
'';
buildInputs = [