From c3d9315b9ebec6a8ab13c867a3417bbbc3802176 Mon Sep 17 00:00:00 2001 From: cneud <952378+cneud@users.noreply.github.com> Date: Tue, 19 Mar 2024 23:33:57 +0100 Subject: [PATCH] pin `scikit-learn` version supporting Python 3.8-3.12 --- pyproject.toml.draft | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml.draft b/pyproject.toml.draft index aaea4cc..32c927d 100644 --- a/pyproject.toml.draft +++ b/pyproject.toml.draft @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "ocrd >= 2.63.3", "numpy <1.24.0", - "scikit-learn >= 1.4.1", + "scikit-learn >= 1.3.2", "tensorflow == 2.12.1", "imutils >= 0.5.4", "matplotlib", diff --git a/requirements.txt b/requirements.txt index f39359c..667a630 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # ocrd includes opencv, numpy, shapely, click ocrd >= 2.63.3 numpy <1.24.0 -scikit-learn >= 1.4.1 +scikit-learn == 1.3.2 # only version supporting Python 3.8-3.12 tensorflow == 2.12.1 imutils >= 0.5.4 matplotlib