From fbcbf2cd29b068ad8af3a89b859657063f40a8f5 Mon Sep 17 00:00:00 2001
From: Philip Wilk
Date: Sun, 7 Sep 2025 13:51:24 +0100
Subject: [PATCH] imbalanced-learn: 0.13.0->0.14.0
---
.../python-modules/imbalanced-learn/default.nix | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix
index dd192cab0cd9..5fa8cfb8d457 100644
--- a/pkgs/development/python-modules/imbalanced-learn/default.nix
+++ b/pkgs/development/python-modules/imbalanced-learn/default.nix
@@ -14,13 +14,12 @@
tensorflow,
threadpoolctl,
pytestCheckHook,
- sklearn-compat,
python,
}:
buildPythonPackage rec {
pname = "imbalanced-learn";
- version = "0.13.0";
+ version = "0.14.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -29,7 +28,7 @@ buildPythonPackage rec {
owner = "scikit-learn-contrib";
repo = "imbalanced-learn";
tag = version;
- hash = "sha256-osmALi5vTV+3kgldY/VhYkNvpXX11KwJ/dIX/5E7Uhc=";
+ hash = "sha256-1R7jHOkTO3zK9bkUvvOPQ420ofqIO7J1rqixFEbApR0=";
};
build-system = [
@@ -43,7 +42,6 @@ buildPythonPackage rec {
scikit-learn
scipy
threadpoolctl
- sklearn-compat
];
optional-dependencies = {
@@ -82,6 +80,7 @@ buildPythonPackage rec {
disabledTests = [
# Broken upstream test https://github.com/scikit-learn-contrib/imbalanced-learn/issues/1131
"test_estimators_compatibility_sklearn"
+ "test_balanced_bagging_classifier_with_function_sampler"
];
meta = {