From ba690e67432cd0f7ec733590c0d20c4ae3bfab41 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 15 Dec 2023 10:36:50 -0500 Subject: [PATCH] Update to CMake 3.28.1 --- CMakeUrls.cmake | 28 ++++++++++++++-------------- README.rst | 2 +- docs/index.rst | 2 +- docs/update_cmake_version.rst | 12 ++++++------ tests/test_cmake.py | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/CMakeUrls.cmake b/CMakeUrls.cmake index 96dc18dbc..96aa2dcbb 100644 --- a/CMakeUrls.cmake +++ b/CMakeUrls.cmake @@ -1,11 +1,11 @@ #----------------------------------------------------------------------------- # CMake sources -set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0.tar.gz") -set(unix_source_sha256 "e1dcf9c817ae306e73a45c2ba6d280c65cf4ec00dd958eb144adaf117fb58e71") +set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1.tar.gz") +set(unix_source_sha256 "15e94f83e647f7d620a140a7a5da76349fc47a1bfed66d0f5cdee8e7344079ad") -set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0.zip") -set(windows_source_sha256 "84f5fde50154b8e64dd02de578f4f0b24d9edb43c22323ca9b631f1cbe4e9a40") +set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1.zip") +set(windows_source_sha256 "6ffbd594f32eca54320cc9f58b1d82a8a9f696803a4623fe6e157e931ea699ee") #----------------------------------------------------------------------------- # CMake binaries @@ -13,17 +13,17 @@ set(windows_source_sha256 "84f5fde50154b8e64dd02de578f4f0b24d9edb43c22323ca9b 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/v3.28.0/cmake-3.28.0-linux-x86_64.tar.gz") -set(linux64_binary_sha256 "898f0b5ca6e2ea5286998e97bd33f030d7d09f18ca4b88be661fdfbad5dadd88") +set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz") +set(linux64_binary_sha256 "f76398c24362ad87bad1a3d6f1e8f4377632b5b1c360c4ba1fd7cd205fd9d8d4") -set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-macos10.10-universal.tar.gz") -set(macos10_10_binary_sha256 "3880f8c0ba174c3ae7ca4dec015dcd5b5b32cbb88661e49870baa975563855df") +set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-macos10.10-universal.tar.gz") +set(macos10_10_binary_sha256 "f2d296294921b209d9c7edbc12ce175e00644fcabba362b6a24c32b0a4624a9a") -set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-windows-i386.zip") -set(win32_binary_sha256 "3a08a671e67168acefe533c212592d02b57224a215689725d9a60bd6320a1abb") +set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-windows-i386.zip") +set(win32_binary_sha256 "e9591cfdb1d394eee84acdecf880cbd91cf0707dfd0d58bf3796b88475f46cb9") -set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-windows-x86_64.zip") -set(win64_binary_sha256 "3096d5d708476cfe37f6c64da480b974f29c01bf5baae314c679c1e2fde8994f") +set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-windows-x86_64.zip") +set(win64_binary_sha256 "671332249bc7cc7424523d6c2b5edd3e3de90a43b8b82e8782f42da4fe4c562d") -set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-windows-arm64.zip") -set(winarm64_binary_sha256 "91d36cfa2c1df7a638d68bf84b33a1d56131cd497275c5192826991e28a3a737") +set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-windows-arm64.zip") +set(winarm64_binary_sha256 "a839b8d32c11b24f078142b5b8c3361a955ebc65788f0f0353b2121fe2f74e49") diff --git a/README.rst b/README.rst index 6e18ae0d5..1bc3e4c98 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 3.28.0 `_. +The CMake python wheels provide `CMake 3.28.1 `_. Latest Release -------------- diff --git a/docs/index.rst b/docs/index.rst index 898bd2afc..3237ced86 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 3.28.0 `_. +The CMake python wheels provide `CMake 3.28.1 `_. .. toctree:: :maxdepth: 2 diff --git a/docs/update_cmake_version.rst b/docs/update_cmake_version.rst index cb14f1417..77aa66603 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=3.28.0 + $ release=3.28.1 $ ./scripts/update_cmake_version.py $release - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.0' + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.1' [...] - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.0' - done - Updating 'CMakeUrls.cmake' with CMake version 3.28.0 - Updating 'CMakeUrls.cmake' with CMake version 3.28.0 - done + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.1' - done + Updating 'CMakeUrls.cmake' with CMake version 3.28.1 + Updating 'CMakeUrls.cmake' with CMake version 3.28.1 - 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=3.28.0 + release=3.28.1 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/tests/test_cmake.py b/tests/test_cmake.py index 27699c82d..5153555c0 100644 --- a/tests/test_cmake.py +++ b/tests/test_cmake.py @@ -62,7 +62,7 @@ def _get_scripts(): @all_tools def test_cmake_script(tool): - expected_version = "3.28.0" + expected_version = "3.28.1" 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")