Skip to content

Conversation

@SimonBlanke
Copy link
Collaborator

This PR fixes #128.
Compatibility functions for v1.6 and v1.7 of sklearn in hyperactive.integrations.sklearn._compat.py

@SimonBlanke SimonBlanke requested a review from fkiraly July 6, 2025 13:11
@SimonBlanke SimonBlanke added the bug Something isn't working label Jul 6, 2025
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch! This looks absolutely painful!

We should test this - I think feature-engine tests 1.5, 1.6, and 1.7.

Could be a separate matrix to avoid proliferation of matrices, e.g., combinations of sklearn and python version, but only on one OS.

@fkiraly
Copy link
Collaborator

fkiraly commented Jul 7, 2025

minor comment, I would give the test a name which includes matrix elements, so it appears like (3.10, macos-latest) in the other tests. Otherweise we have five jobs named test-sklearn-1.7

@SimonBlanke SimonBlanke requested a review from fkiraly July 7, 2025 16:03
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SimonBlanke SimonBlanke merged commit 4a40b14 into master Jul 8, 2025
39 checks passed
fkiraly added a commit that referenced this pull request Jul 29, 2025
PR #138 added support for
`scikit-learn 1.7.X`, but the bound in `pyproject.toml` was not raised -
this PR increases that bound.
fkiraly added a commit that referenced this pull request Jul 30, 2025
PR #138 added support for
`scikit-learn 1.7.X`, but the bound in `pyproject.toml` was not raised -
this PR increases that bound.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNT] compatibility issues with scikit-learn 1.7.0

3 participants