Skip to content

Migrate to scikit-build-core#12219

Draft
hcho3 wants to merge 4 commits into
masterfrom
skbuild
Draft

Migrate to scikit-build-core#12219
hcho3 wants to merge 4 commits into
masterfrom
skbuild

Conversation

@hcho3
Copy link
Copy Markdown
Collaborator

@hcho3 hcho3 commented May 19, 2026

Migrate the Python build backend to scikit-build-core.

Substantial portion of the changes was generated by Claude Code. I personally reviewed the changes.

Special thanks to @DEKHTIARJonathan for guidance.

@hcho3 hcho3 changed the title [WIP] Migrate to scikit-build-core Migrate to scikit-build-core May 19, 2026
@trivialfis
Copy link
Copy Markdown
Member

Could you please share the motivation of doing this?

@DEKHTIARJonathan
Copy link
Copy Markdown
Contributor

@trivialfis Scikit-Build-Core is the reference build backend for CMake. It's significantly more robust & tested than using custom sauce while providing future proofing of the build system.

@hcho3
Copy link
Copy Markdown
Collaborator Author

hcho3 commented May 22, 2026

TODO. Test the wheel to ensure that it is compatible with multiple Python and CUDA versions.

@jameslamb
Copy link
Copy Markdown
Contributor

I just noticed this PR, @hcho3 @trivialfis let me know any time if you want me to review or have questions. We've been using scikit-build-core in LightGBM for about 3 years now (since lightgbm-org/LightGBM#5759) and it's been working very very well for us.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants