8000 De-Cython several modules by jcrist · Pull Request #6920 · rapidsai/cuml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

De-Cython several modules #6920

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 10 commits into from
Jun 18, 2025
Merged

De-Cython several modules #6920

merged 10 commits into from
Jun 18, 2025

Conversation

jcrist
Copy link
Member
@jcrist jcrist commented Jun 18, 2025

I stumbled upon this while refactoring some other code. There were several .pyx files that had no reason to be in cython. I've moved these to be .py files instead.

Pure python modules don't require any compilation, are easier to debug, and can rely on the copious standard tooling for formatting/linting/editor help. There were no reasons for these modules to by in cython, moving them to python.

For reviewers: you might notice the diff isn't just a straight file rename. This is because black only runs on .py files, hence the better formatted code. There are no code changes (beyond reformatting and file name changes) in this PR.

@jcrist jcrist requested review from a team as code owners June 18, 2025 20:04
@github-actions github-actions bot added Cython / Python Cython or Python issue CMake labels Jun 18, 2025
@jcrist jcrist added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 18, 2025
@jcrist
Copy link
Member Author
jcrist commented Jun 18, 2025

/merge

@rapids-bot rapids-bot bot merged commit f00d38d into rapidsai:branch-25.08 Jun 18, 2025
70 checks passed
@jcrist jcrist deleted the de-cython branch June 18, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0