Skip to content

Update scikit-learn requirement from <=1.5.2 to <=1.6.0 - #470

Merged
mherde merged 7 commits into
developmentfrom
dependabot/pip/development/scikit-learn-lte-1.6.0
Feb 10, 2025
Merged

mherde merged 7 commits into
developmentfrom
dependabot/pip/development/scikit-learn-lte-1.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 9, 2024 •

Copy link
Copy Markdown
Contributor

Updates the requirements on scikit-learn to permit the latest version.

Release notes

Sourced from scikit-learn's releases.

Scikit-learn 1.6.0

We're happy to announce the 1.6.0 release.

You can read the release highlights under https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_6_0.html and the long version of the change log under https://scikit-learn.org/stable/whats_new/v1.6.html

This version supports Python versions 3.9 to 3.13 and features an experimental support of free-threaded CPython.

You can upgrade with pip as usual:

pip install -U scikit-learn

The conda-forge builds can be installed using:

conda install -c conda-forge scikit-learn
Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [scikit-learn](https://github.com/scikit-learn/scikit-learn) to permit the latest version.
- [Release notes](https://github.com/scikit-learn/scikit-learn/releases)
- [Commits](scikit-learn/scikit-learn@1.3.2...1.6.0)

---
updated-dependencies:
- dependency-name: scikit-learn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 9, 2024
@codecov

codecov Bot commented Dec 13, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5a4a6d9) to head (ec6f635).
Report is 8 commits behind head on development.

Additional details and impacted files
@@              Coverage Diff              @@
##           development      #470   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files               63        63           
  Lines             5545      5545           
=============================================
  Hits              5545      5545           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tpham93

tpham93 commented Dec 13, 2024

Copy link
Copy Markdown
Contributor

This branch should be compatible with the latest release of scikit-learn 1.6.0. The most important changes were:

  • changed the minimum version for scikit-learn to 1.6.0
  • changed all force_all_finite to ensure_all_finite
  • changed inheritance order so that the mixins appear before BaseEstimator, such that the __sklearn_tags__ method of these is prioritized. Otherwise, the is_classifier and is_regressor functions would not work properly.

@tpham93
tpham93 requested a review from mherde December 13, 2024 13:56
@dependabot @github

dependabot Bot commented on behalf of github Jan 13, 2025

Copy link
Copy Markdown
Contributor Author

A newer version of scikit-learn exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@mherde
mherde merged commit 89c784c into development Feb 10, 2025
@dependabot
dependabot Bot deleted the dependabot/pip/development/scikit-learn-lte-1.6.0 branch February 10, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants