Skip to content

MAINT cleanup utils.__init__: move check_matplotlib/pandas_support into dedicated submodule #28482

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 21, 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 didn't find an already existing submodule relevant for check_matplotlib_support and check_pandas_support so I created a dedicated submodule named _optional_dependencies.

These functions are not listed in classes.rst so assumed private, this is why I made them only importable from utils._optional_dependencies.

Copy link

✔️ Linting Passed

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

Generated for commit: 5cce58a. Link to the linter CI: here

Copy link
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @jeremiedbb

@OmarManzoor OmarManzoor added the Waiting for Second Reviewer First reviewer is done, need a second one! label Feb 21, 2024
@lesteve lesteve merged commit e125e67 into scikit-learn:main Feb 21, 2024
@lesteve
Copy link
Member

lesteve commented Feb 21, 2024

Merging thanks!

@reshamas reshamas removed the Waiting for Second Reviewer First reviewer is done, need a second one! label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Needed Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants