Skip to content

Conversation

@sculpordwarf
Copy link

Hi,

I followed your classic procedure https://cmake-python-distributions.readthedocs.io/en/latest/update_cmake_version.html to get the latest 3.x version of cmake.
Maybe someone with write access can set the tag, if it gets merged: https://cmake-python-distributions.readthedocs.io/en/latest/make_a_release.html

@henryiii
Copy link
Contributor

henryiii commented Nov 18, 2025

We made a lot of breaking updates to the build platform in 4.1, I don't think we'd want to ship those back into a patch release. If we wanted to do this, it would probably need to be based on 3.31 (or 4.0, which I think didn't change anything), not 4.1. Is there a reason you need 3.x? 4.x works better for some things like targeting iOS.

@henryiii henryiii changed the base branch from main to v3.x November 19, 2025 20:31
scikit-build-app-bot bot and others added 2 commits November 19, 2025 15:43
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@henryiii henryiii force-pushed the update-to-cmake-3.31.9 branch from 6c67a9a to e851bc5 Compare November 19, 2025 20:44
@henryiii henryiii changed the title Update to CMake 3.31.9 [v3.x] Update to CMake 3.31.10 Nov 19, 2025
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@sculpordwarf
Copy link
Author

Hi henryiii,

Is there a reason you need 3.x? 4.x works better for some things like targeting iOS.
I want to use QNX8 with version 3.x. QNX8 has a deprecation warning spamming the logs:
https://www.qnx.com/developers/docs/8.0/com.qnx.doc.qnxsdp.migration/topic/IDE.html
reported here to cmake:
https://discourse.cmake.org/t/qnx-sdp-8-compiler-flag-lang-c-now-marked-as-deprecated/12695
and the fix to it in 3.31.9:
Kitware/CMake@1660616

I want to use the 3.x version of cmake, because 4.x has breaking changes e.g.:
Compatibility with CMake < 3.5 has been removed from CMake.
Which leads to other problems, I don´t want to fix right now.

Thank you for updating the PR.

@henryiii henryiii merged commit d1aa067 into scikit-build:v3.x Nov 20, 2025
28 checks passed
@henryiii
Copy link
Contributor

You should be able to define -DCMAKE_POLICY_VERSION_MINIMUM=3.5 (either on the command line, or in your CMakeLists.txt before including anything with bad cmake_minimum_required settings that don't have a maximum value), and 4.x should work.

@henryiii
Copy link
Contributor

Should be available now.

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.

2 participants