Skip to content

Commit 8281994

Browse files
author
Thierry RAMORASOAVINA
committed
Set a max version for scikit-learn to avoid undesired breaking changes
1 parent f634368 commit 8281994

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ nbconvert==6.4.4
55
nbformat==5.3.0
66
numpydoc>=1.5.0
77
pandas>=0.25.3
8-
scikit-learn>=0.22.2
8+
scikit-learn>=0.22.2,<=1.7.2
99
sphinx-copybutton>=0.5.0

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ classifiers = [
105105
requires-python = ">=3.8"
106106
dependencies = [
107107
"pandas>=0.25.3",
108-
"scikit-learn>=0.22.2",
108+
# do not necessarily use the latest version, to avoid undesired breaking
109+
# changes
110+
"scikit-learn>=0.22.2,<=1.7.2",
109111
]
110112

111113
[project.urls]

0 commit comments

Comments
 (0)