Skip to content

Commit 307019e

Browse files
committed
fix scipy for older scikit-learn
1 parent 76900e8 commit 307019e

File tree

2 files changed

+195
-33
lines changed

2 files changed

+195
-33
lines changed

pixi.lock

Lines changed: 188 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ scikit-learn = "~=1.5.0"
169169
[tool.pixi.feature.sklearn-1-6.dependencies]
170170
scikit-learn = "~=1.6.0"
171171

172+
[tool.pixi.feature.scipy-1-15.dependencies]
173+
# for scikit-learn < 1.7, scipy > 1.15 is raising a deprecation warning
174+
scipy = "~=1.15.0"
175+
172176
[tool.pixi.feature.py310.dependencies]
173177
python = "~=3.10.0"
174178

@@ -212,9 +216,9 @@ ci-py310-min-optional-dependencies = ["py310", "min-dependencies", "min-optional
212216
ci-py310-min-keras = ["py310", "min-keras", "tests"]
213217
ci-py310-min-tensorflow = ["py310", "min-tensorflow", "tests"]
214218

215-
ci-py311-sklearn-1-4 = ["py311", "sklearn-1-4", "tests"]
216-
ci-py311-sklearn-1-5 = ["py311", "sklearn-1-5", "tests"]
217-
ci-py312-sklearn-1-6 = ["py312", "sklearn-1-6", "tests"]
219+
ci-py311-sklearn-1-4 = ["py311", "sklearn-1-4", "scipy-1-15", "tests"]
220+
ci-py311-sklearn-1-5 = ["py311", "sklearn-1-5", "scipy-1-15", "tests"]
221+
ci-py312-sklearn-1-6 = ["py312", "sklearn-1-6", "scipy-1-15", "tests"]
218222
ci-py311-latest-tensorflow = ["py311", "tensorflow", "tests"]
219223
ci-py311-latest-keras = ["py311", "keras", "tests"]
220224

0 commit comments

Comments
 (0)