-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[question] CMake soon bumps version to 4.0, need to reconsider CMake's tool_requires version ranges #26598
Comments
I think there is some confusion here. This has been confusing to some users in the past, but note that the range in
What I'm gathering from the links you have provided:
If this is the case:
|
Actually, there are some problems with some environments (alpine musl (partially worked around also via some hacks from conan-io/conan#16179 (comment)), android; non-x86 platforms) with prebuilt cmake, so I have to |
What is your question?
Currently there are ~157 code results with CMake version ranges:
https://github.com/search?q=repo%3Aconan-io%2Fconan-center-index+%22cmake%2F%5B%22+language%3APython&type=code
A lot of them uses "<4" as the upper bound of range.
CMake 4.0 actually compatible with previous 3.31, but drops very ancient policies upto CMake 3.5:
https://gitlab.kitware.com/cmake/cmake/-/issues/26613
We should update any CMake version ranges, with lower bound
>= 3.5
.For another (
<3.5
, but I think, we haven't these versions), there will be an escape hatch from upstream (for some time): https://gitlab.kitware.com/cmake/cmake/-/issues/26698Also we should to update our version ranges policies.
Cc @memsharded
The text was updated successfully, but these errors were encountered: