From ae82f48f25108321798476b390023d129b3358a3 Mon Sep 17 00:00:00 2001 From: "scikit-build-app-bot[bot]" <173546081+scikit-build-app-bot[bot]@users.noreply.github.com> Date: Thu, 12 Jun 2025 06:23:22 +0000 Subject: [PATCH] [Bot] Update to CMake 3.30.9 --- 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 278d7254..4450b503 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.0.2/cmake-4.0.2.tar.gz") -set(unix_source_sha256 "1c3a82c8ca7cf12e0b17178f9d0c32f7ac773bd5651a98fcfd80fbf4977f8d48") +set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9.tar.gz") +set(unix_source_sha256 "65f765bb87c8019316cabe67cbe5e8f45ede334eeb5afd161ca6874d17994e0d") -set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2.zip") -set(windows_source_sha256 "983f2b0cc24edd9d6c2754d2f52f0fce36f0368c95a9b6f45df3faf1dfd0728a") +set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9.zip") +set(windows_source_sha256 "cc12fe7b8e0908a33f4ba2bf0ca2b4d830b67850c3f7a475a6470c836070cdfd") #----------------------------------------------------------------------------- # CMake binaries @@ -13,17 +13,17 @@ set(windows_source_sha256 "983f2b0cc24edd9d6c2754d2f52f0fce36f0368c95a9b6f45d 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.0.2/cmake-4.0.2-linux-x86_64.tar.gz") -set(linux64_binary_sha256 "80940e81de61584fe4eedd3c40adc597d7c5b76ad8709668007b467a3c2a36c7") +set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9-linux-x86_64.tar.gz") +set(linux64_binary_sha256 "9114e33358a9efc93d6ea658805280fc3201b882b944a4d946edd9472fd1eec7") -set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2-macos10.10-universal.tar.gz") -set(macos10_10_binary_sha256 "edb0713b557040a2e90718909e11cac82810fe2bf8943828b11cfb84b75815a0") +set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9-macos10.10-universal.tar.gz") +set(macos10_10_binary_sha256 "00baed9b17a4a7727ee7730a6b3d7375181a6e48a3651b532e5d0712d7502900") -set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2-windows-i386.zip") -set(win32_binary_sha256 "026009a57d06cb8342e42840fcbd83bc5e58ee3ea90d3ddc8e46f82a0d93d9ff") +set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9-windows-i386.zip") +set(win32_binary_sha256 "0ec7d45b8705f019015dca50603600bb68407201f94205f3cba6d1004da5c086") -set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2-windows-x86_64.zip") -set(win64_binary_sha256 "109ec7de10416d6d78991bab9714d2cb1ccb71d1b436dff42ec978dd283c29fc") +set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9-windows-x86_64.zip") +set(win64_binary_sha256 "b60b316b4827852b3f49f3a6e35e1a9c2301f8c2dca81d135ba0731d4fd9338b") -set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2-windows-arm64.zip") -set(winarm64_binary_sha256 "634d6bab01a639e314f4fb2fee0967c84c3a37e39b9b2c9455c2dff2deb6a6dc") +set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.9/cmake-3.30.9-windows-arm64.zip") +set(winarm64_binary_sha256 "e526cd30d1df769889ff679a739df7d4b3e92a74f8b4f61a97db962a4a084ed6") diff --git a/README.rst b/README.rst index 9e82398c..ba1aeccb 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.0.2 `_. +The CMake python wheels provide `CMake 3.30.9 `_. Latest Release -------------- diff --git a/docs/index.rst b/docs/index.rst index 47382e00..a44d8bd4 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.0.2 `_. +The CMake python wheels provide `CMake 3.30.9 `_. .. toctree:: :maxdepth: 2 diff --git a/docs/make_a_release.rst b/docs/make_a_release.rst index bd839ce5..5fadb96e 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.0.2' 4.0.2 main - $ git push origin 4.0.2 + $ git tag --sign -m 'cmake-python-distributions 3.30.9' 3.30.9 main + $ git push origin 3.30.9 .. warning:: diff --git a/docs/update_cmake_version.rst b/docs/update_cmake_version.rst index 24cb7f17..0d6e5695 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.0.2 + $ release=3.30.9 $ ./scripts/update_cmake_version.py $release - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.2' + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.9' [...] - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.2' - done - Updating 'CMakeUrls.cmake' with CMake version 4.0.2 - Updating 'CMakeUrls.cmake' with CMake version 4.0.2 - done + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.9' - done + Updating 'CMakeUrls.cmake' with CMake version 3.30.9 + Updating 'CMakeUrls.cmake' with CMake version 3.30.9 - 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.0.2 + release=3.30.9 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 211f4f4a..625379d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["_build_backend"] [project] name = "cmake" -version = "4.0.2" +version = "3.30.9" 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 e6670a0e..ac04d38b 100644 --- a/tests/test_cmake.py +++ b/tests/test_cmake.py @@ -68,7 +68,7 @@ def _get_scripts(): @all_tools def test_cmake_script(tool): - expected_version = "4.0.2" + expected_version = "3.30.9" 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") @@ -76,6 +76,6 @@ def test_cmake_script(tool): def test_cmake_main(): - expected_version = "4.0.2" + expected_version = "3.30.9" 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}"