Skip to content

Commit

Permalink
ENH: Update minimum required scikit-learn version to 1.3.0
Browse files Browse the repository at this point in the history
Update minimum required `scikit-learn` version to 1.3.0 (released June
2023):
- 0.18 dates back to Sept 28, 2016 (9 years ago):
  https://scikit-learn.org/1.6/whats_new/v0.18.html#changes-0-18
- CI testing is using 1.6.0, the most recent version to date:
  https://scikit-learn.org/1.6/whats_new/v1.6.html
- Following the errors discovered during the type hinting efforts,
  the `DiffusionGPR` class is accepting the `n_targets` named parameter
  constraint, which was introduced in `scikit-learn` version 1.3.0:
  https://scikit-learn.org/1.6/whats_new/v1.3.html#sklearn-gaussian-process

Documentation:
https://scikit-learn.org/1.6/whats_new/v1.3.html#version-1-3-0
  • Loading branch information
jhlegarreta committed Jan 20, 2025
1 parent 0dadde7 commit 81220a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
"numpy>=1.17.3",
"nest-asyncio>=1.5.1",
"scikit-image>=0.14.2",
"scikit_learn>=0.18",
"scikit_learn>=1.3.0",
"scipy>=1.8.0",
]
dynamic = ["version"]
Expand Down

0 comments on commit 81220a6

Please sign in to comment.