[go: up one dir, main page]

Skip to content
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

MAINT cleanup utils.__init__: deprecate tosequence #28763

Merged
merged 3 commits into from
Apr 5, 2024

Conversation

jeremiedbb
Copy link
Member

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

The only current usage of tosequence is in a single test, to turn a map into a list. I don't think we really need to keep it in the codebase. It's not a public function but since it's available from sklearn.utils and doesn't have a leading underscore, let's be extra safe and follow the deprecation cycle, unless you think otherwise and I'll be happy to just remove it right away :)

@jeremiedbb jeremiedbb added the Quick Review For PRs that are quick to review label Apr 3, 2024
Copy link
github-actions bot commented Apr 3, 2024

✔️ Linting Passed

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

Generated for commit: 78e3915. Link to the linter CI: here

Copy link
Member
@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasjpfan thomasjpfan merged commit 8edbdfc into scikit-learn:main Apr 5, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ensemble module:utils Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants