Skip to content

Pin scikit-learn to < 1.6.0 for lightgbm#343

Merged
c-bata merged 1 commit intooptuna:mainfrom
y0z:feature/fix-lightgbm-ci
Dec 18, 2025
Merged

Pin scikit-learn to < 1.6.0 for lightgbm#343
c-bata merged 1 commit intooptuna:mainfrom
y0z:feature/fix-lightgbm-ci

Conversation

@y0z
Copy link
Copy Markdown
Member

@y0z y0z commented Dec 18, 2025

Motivation

Fix the lightgbm CI.

Description of the changes

In scikit-learn 1.6.0, force_all_finite has been renamed to ensure_all_finite. This causes an unknown argument error in the lightgbm CI. This PR fixes the error by pinning the scikit-learn version to < 1.6.0.

https://scikit-learn.org/stable/modules/generated/sklearn.utils.check_X_y.html
image

@y0z y0z added the CI Continuous integration. label Dec 18, 2025
@y0z y0z added this to the v4.7.0 milestone Dec 18, 2025
@c-bata c-bata merged commit d97a089 into optuna:main Dec 18, 2025
5 checks passed
@y0z y0z deleted the feature/fix-lightgbm-ci branch December 18, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants