Skip to content

MAINT cleanup utils.__init__: move openblas check into fixes #28486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

jeremiedbb
Copy link
Member

Extracted from #26686 to ease the reviews. The end goal is to clean the utils.init.py module as explained in the linked PR.

I wasn't sure where to put _in_unstable_openblas_configuration but in utils.fixes seems acceptable since it concerns an issue in a specific version of a dependency that will disappear at some point.

Copy link

github-actions bot commented Feb 20, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 8bf60cc. Link to the linter CI: here

Copy link
Member

@lesteve lesteve left a comment

Choose a reason for hiding this comment

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

LGTM

@jjerphan jjerphan merged commit 1d29324 into scikit-learn:main Feb 22, 2024
@adrinjalali
Copy link
Member

We're leaking quite a few imports in our __init__ here by the way, and this PR made skops CI to fail: skops-dev/skops#412

@jeremiedbb
Copy link
Member Author

Well we can't guarantee stability of internal stuff, whether it's function names, signature, behavior or location. Third party packages should not rely on those and if they do anyway it's expected that it will break every once in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants