Skip to content

Commit c240e99

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ classifiers = [
105105
requires-python = ">=3.8"
106106
dependencies = [
107107
"pandas>=0.25.3",
108-
"scikit-learn>=0.22.2",
108+
# do not use the latest version, to avoid undesired breaking changes
109+
"scikit-learn>=0.22.2,<=1.7.2",
109110
]
110111

111112
[project.urls]
112113
Homepage = "https://khiops.org"
113114

114115
[project.optional-dependencies]
115116
s3 = [
116-
# do not necessarily use the latest version, to avoid undesired breaking
117-
# changes
117+
# do not use the latest version, to avoid undesired breaking changes
118118
"boto3>=1.17.39,<=1.35.69",
119119
]
120120
gcs = [

0 commit comments

Comments
 (0)