-
Notifications
You must be signed in to change notification settings - Fork 200
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
Use tool.scikit-build.cmake.version
#1637
Use tool.scikit-build.cmake.version
#1637
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one suggestion, otherwise LGTM. Let's apply these changes across all of RAPIDS.
Should we be concerned about this affecting the 24.08 release?
cmake.minimum-version has been deprecated since 0.8, and is now causing conflicts in 0.10 due to its attempts to auto-detect cmake.version from CMakeLists.txt. Bump the minimum scikit-build-core to 0.10 and used the suggested cmake.version.
2a96628
to
f5b9b7b
Compare
It's not supposed to do this unless minimum-version is unset or set to 0.10+. |
Oh, is |
That's right, @henryiii. scikit-build-core 0.10.0 sees that the
|
But it's not supposed to do this. I'm trying to see if I can reproduce this in our tests. It's supposed to take minimum-version if it's set and version isn't. |
I see the bug. I don't see why I can't trigger the bug in our tests yet. Could you try a branch? scikit-build/scikit-build-core#853 |
Sure! I just pushed to #1638. The Using that PR which contains 0 other changes instead of this one because it'd tell us if new behavior from your |
@henryiii it does look to me like the wheel builds are succeeding with your patch! https://github.com/rapidsai/rmm/actions/runs/10275391215/job/28434079051?pr=1638 (ignore the failing |
We are seeing this error on CI: ERROR: Cannot set cmake.verbose if minimum-version is set to 0.10 or higher This should be fixed by upstream PR: rapidsai/devcontainers#377 |
0.10.1 is out, with this regression fixed. In general, not setting |
Thank you SO MUCH for the quick fix @henryiii !!! You're right of course, we should be setting |
Pushed to conda-forge too, that should be live in a few minutes. |
Yep I see 0.10.1 there: https://anaconda.org/conda-forge/scikit-build-core Thanks again @henryiii !! |
…ild-cmake-version
The |
Co-authored-by: jakirkham <jakirkham@gmail.com>
/merge |
Thanks all! 🙏 |
Description
cmake.minimum-version
has been deprecated sincescikit-build-core
0.8, and is now causing conflicts in 0.10 due to its attempts to auto-detectcmake.version
fromCMakeLists.txt
. Bump the minimumscikit-build-core
to 0.10 and use the suggestedcmake.version
.Contributes to rapidsai/build-planning#58
Checklist