From 3c303efa2e33a098b415cdb1e49b8c41c7b5f616 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 Jan 2026 15:59:32 +0100 Subject: [PATCH] python3Packages.scikit-learn: 1.7.0 -> 1.8.0 https://scikit-learn.org/stable/whats_new/v1.8.html#version-1-8-0 --- .../python-modules/scikit-learn/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/scikit-learn/default.nix b/pkgs/development/python-modules/scikit-learn/default.nix index 4849a5851db9..b48f5a5d8f72 100644 --- a/pkgs/development/python-modules/scikit-learn/default.nix +++ b/pkgs/development/python-modules/scikit-learn/default.nix @@ -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 = [