From 81220a6affa236eca7f0b35800b4a29bab2c2799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Mon, 20 Jan 2025 09:44:10 -0500 Subject: [PATCH] ENH: Update minimum required `scikit-learn` version to 1.3.0 Update minimum required `scikit-learn` version to 1.3.0 (released June 2023): - 0.18 dates back to Sept 28, 2016 (9 years ago): https://scikit-learn.org/1.6/whats_new/v0.18.html#changes-0-18 - CI testing is using 1.6.0, the most recent version to date: https://scikit-learn.org/1.6/whats_new/v1.6.html - Following the errors discovered during the type hinting efforts, the `DiffusionGPR` class is accepting the `n_targets` named parameter constraint, which was introduced in `scikit-learn` version 1.3.0: https://scikit-learn.org/1.6/whats_new/v1.3.html#sklearn-gaussian-process Documentation: https://scikit-learn.org/1.6/whats_new/v1.3.html#version-1-3-0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 638286d..68d1e6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "numpy>=1.17.3", "nest-asyncio>=1.5.1", "scikit-image>=0.14.2", - "scikit_learn>=0.18", + "scikit_learn>=1.3.0", "scipy>=1.8.0", ] dynamic = ["version"]