python3Packages.scikit-learn: 1.5.0 -> 1.5.2

https://scikit-learn.org/stable/whats_new/v1.5.html#version-1-5-2
This commit is contained in:
Martin Weinelt
2024-10-13 11:09:13 +02:00
parent bbf9a74390
commit 8e81bf1a41
@@ -24,7 +24,7 @@
buildPythonPackage rec {
pname = "scikit-learn";
version = "1.5.0";
version = "1.5.2";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -32,12 +32,12 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "scikit_learn";
inherit version;
hash = "sha256-eJ49sBx1DtbUlvott9UGN4V7RR5XvK6GO/9wfBJHvvc=";
hash = "sha256-tCN+17P90KSIJ5LmjvJUXVuqUKyju0WqffRoE4rY+U0=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2.0.0rc2" "numpy"
--replace-fail "numpy>=2" "numpy"
substituteInPlace meson.build --replace-fail \
"run_command('sklearn/_build_utils/version.py', check: true).stdout().strip()," \