From 96d05b18903456eb002d51e95eae1a9f4ee9d0c5 Mon Sep 17 00:00:00 2001 From: Pieter Gijsbers Date: Fri, 14 Jun 2024 11:23:33 +0200 Subject: [PATCH] Fix scikit-learn to <1.3, prepare post release (#215) --- docs/source/releases.rst | 4 ++++ gama/__version__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/source/releases.rst b/docs/source/releases.rst index 821420d1..3ad3bc4c 100644 --- a/docs/source/releases.rst +++ b/docs/source/releases.rst @@ -1,6 +1,10 @@ Release Notes ============= +Version 23.0.0.post1 +-------------- + +Fix scikit-learn to version <1.3, because GAMA uses scikit-learn internals that were changed from 1.4. Version 23.0.0 -------------- diff --git a/gama/__version__.py b/gama/__version__.py index 441138cd..b52870e5 100644 --- a/gama/__version__.py +++ b/gama/__version__.py @@ -1,2 +1,2 @@ # format: YY.minor.micro -__version__ = "23.0.0" +__version__ = "23.0.0.post1" diff --git a/pyproject.toml b/pyproject.toml index 13814da3..0ee2289b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ requires-python = ">=3.9" dependencies = [ "numpy>=1.20.0", "scipy>=1.0.0", - "scikit-learn>=1.1.0", + "scikit-learn>=1.1.0,<1.3", "pandas>=1.0", "stopit>=1.1.1", "liac-arff>=2.2.2",