From 0e893413a60cfd47f62f9dc4bbcd378e8748c5f0 Mon Sep 17 00:00:00 2001 From: "scikit-build-app-bot[bot]" <173546081+scikit-build-app-bot[bot]@users.noreply.github.com> Date: Wed, 21 Jan 2026 06:29:33 +0000 Subject: [PATCH] [Bot] Update to CMake 4.2.2 --- CMakeUrls.cmake | 28 ++++++++++++++-------------- README.rst | 2 +- docs/index.rst | 2 +- docs/make_a_release.rst | 4 ++-- docs/update_cmake_version.rst | 12 ++++++------ pyproject.toml | 2 +- tests/test_cmake.py | 4 ++-- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/CMakeUrls.cmake b/CMakeUrls.cmake index 88224fdc..ed6b26dc 100644 --- a/CMakeUrls.cmake +++ b/CMakeUrls.cmake @@ -1,11 +1,11 @@ #----------------------------------------------------------------------------- # CMake sources -set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1.tar.gz") -set(unix_source_sha256 "414aacfac54ba0e78e64a018720b64ed6bfca14b587047b8b3489f407a14a070") +set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2.tar.gz") +set(unix_source_sha256 "bbda94dd31636e89eb1cc18f8355f6b01d9193d7676549fba282057e8b730f58") -set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1.zip") -set(windows_source_sha256 "e63276266293d820eca862b6596cbca7657458ef61eebefaf920eaccc33666f8") +set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2.zip") +set(windows_source_sha256 "4d4e3b1f8564440aa7af34b84370c4abef5e5388ec53f54d871a55120e4d2628") #----------------------------------------------------------------------------- # CMake binaries @@ -13,17 +13,17 @@ set(windows_source_sha256 "e63276266293d820eca862b6596cbca7657458ef61eebefaf9 set(linux32_binary_url "NA") # Linux 32-bit binaries not available set(linux32_binary_sha256 "NA") -set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-linux-x86_64.tar.gz") -set(linux64_binary_sha256 "c059bff1e97a2b6b5b0c0872263627486345ad0ed083298cb21cff2eda883980") +set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-linux-x86_64.tar.gz") +set(linux64_binary_sha256 "893a5c7ca805234accafb0f1c940660822df1964413d612b5971816dd6e54eab") -set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-macos10.10-universal.tar.gz") -set(macos10_10_binary_sha256 "3c57c20465cd22487dbe689e2821651479a404c55a4118ac8fdb46f22dac1c48") +set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-macos10.10-universal.tar.gz") +set(macos10_10_binary_sha256 "319fb06ebce0791d218510278d44f32bbc41ceb8f49fa5b5721c137d1f41f169") -set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-windows-i386.zip") -set(win32_binary_sha256 "696129556482da90293f9d64c1fa68dbe06b0ede80331d7da9aaa03aada6aecf") +set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-windows-i386.zip") +set(win32_binary_sha256 "0b8931b98acc7215621a0532f83133f41d295da78a12e269de4e619741acefc5") -set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-windows-x86_64.zip") -set(win64_binary_sha256 "dfc2b2afac257555e3b9ce375b12b2883964283a366c17fec96cf4d17e4f1677") +set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-windows-x86_64.zip") +set(win64_binary_sha256 "b71b3515bbba0b9b0e05852a3bcb82af548579fdcd6ba7a23f8608518c44bdde") -set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-windows-arm64.zip") -set(winarm64_binary_sha256 "96b097ca3a019cd62839d4805958ad0163dd1adedcfbe578730d57c098aaf667") +set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-windows-arm64.zip") +set(winarm64_binary_sha256 "47230d0f4495e2d36c4c2627b952877b2f7cfe404269f0dddba6b85fc89451bd") diff --git a/README.rst b/README.rst index 07851b26..bcc32181 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as ITK and VTK. -The CMake python wheels provide `CMake 4.2.1 `_. +The CMake python wheels provide `CMake 4.2.2 `_. Latest Release -------------- diff --git a/docs/index.rst b/docs/index.rst index e889589d..5b034a14 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -15,7 +15,7 @@ The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as `ITK `_ and `VTK `_. -The CMake python wheels provide `CMake 4.2.1 `_. +The CMake python wheels provide `CMake 4.2.2 `_. .. toctree:: :maxdepth: 2 diff --git a/docs/make_a_release.rst b/docs/make_a_release.rst index 9bf0bf73..41a77d06 100644 --- a/docs/make_a_release.rst +++ b/docs/make_a_release.rst @@ -44,8 +44,8 @@ Prerequisites .. code:: console - $ git tag --sign -m 'cmake-python-distributions 4.2.1' 4.2.1 main - $ git push origin 4.2.1 + $ git tag --sign -m 'cmake-python-distributions 4.2.2' 4.2.2 main + $ git push origin 4.2.2 .. warning:: diff --git a/docs/update_cmake_version.rst b/docs/update_cmake_version.rst index 31b729c7..a8065a76 100644 --- a/docs/update_cmake_version.rst +++ b/docs/update_cmake_version.rst @@ -29,13 +29,13 @@ Classic procedure: 2. Execute `scripts/update_cmake_version.py` command line tool with the desired ``X.Y.Z`` CMake version available for download. For example:: - $ release=4.2.1 + $ release=4.2.2 $ ./scripts/update_cmake_version.py $release - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.1' + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.2' [...] - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.1' - done - Updating 'CMakeUrls.cmake' with CMake version 4.2.1 - Updating 'CMakeUrls.cmake' with CMake version 4.2.1 - done + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.2' - done + Updating 'CMakeUrls.cmake' with CMake version 4.2.2 + Updating 'CMakeUrls.cmake' with CMake version 4.2.2 - done Updating docs/index.rst Updating docs/index.rst - done Updating README.rst @@ -46,7 +46,7 @@ Classic procedure: 3. Create a topic named `update-to-cmake-X.Y.Z` and commit the changes. For example:: - release=4.2.1 + release=4.2.2 git switch -c update-to-cmake-$release git add -u CMakeUrls.cmake docs/index.rst README.rst tests/test_cmake.py docs/update_cmake_version.rst git commit -m "Update to CMake $release" diff --git a/pyproject.toml b/pyproject.toml index b6a2e087..e9622166 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["_build_backend"] [project] name = "cmake" -version = "4.2.1" +version = "4.2.2" description = "CMake is an open-source, cross-platform family of tools designed to build, test and package software" keywords = ["CMake", "build", "c++", "fortran", "cross-platform", "cross-compilation"] readme = "README.rst" diff --git a/tests/test_cmake.py b/tests/test_cmake.py index d6c7ad6c..068d52e6 100644 --- a/tests/test_cmake.py +++ b/tests/test_cmake.py @@ -64,7 +64,7 @@ def _get_scripts(): @all_tools def test_cmake_script(tool): - expected_version = "4.2.1" + expected_version = "4.2.2" scripts = [script for script in _get_scripts() if script.stem == tool] assert len(scripts) == 1 output = subprocess.check_output([str(scripts[0]), "--version"]).decode("ascii") @@ -72,6 +72,6 @@ def test_cmake_script(tool): def test_cmake_main(): - expected_version = "4.2.1" + expected_version = "4.2.2" output = subprocess.run([sys.executable, "-m", "cmake", "--version"], text=True, capture_output=True, check=False).stdout assert output.splitlines()[0] == f"cmake version {expected_version}"