From dbec7fc552c00d4fba2be5df4dcd845a3936f162 Mon Sep 17 00:00:00 2001 From: "scikit-build-app-bot[bot]" <173546081+scikit-build-app-bot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 21:27:54 -0400 Subject: [PATCH] [Bot] Update to CMake 3.30.0 (#516) Co-authored-by: scikit-build-app-bot[bot] <173546081+scikit-build-app-bot[bot]@users.noreply.github.com> --- 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 48143ebe..08b87313 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.29.6/cmake-3.29.6.tar.gz") -set(unix_source_sha256 "1391313003b83d48e2ab115a8b525a557f78d8c1544618b48d1d90184a10f0af") +set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0.tar.gz") +set(unix_source_sha256 "157e5be6055c154c34f580795fe5832f260246506d32954a971300ed7899f579") -set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6.zip") -set(windows_source_sha256 "79e2fc075b2aa1d93bea55b606a6a053c77c964d30319ba972046bf6cd327d11") +set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0.zip") +set(windows_source_sha256 "6340b67c9b902ab43ca0906305c3a6fd85edb47dae7236e5a0365af6defb12b9") #----------------------------------------------------------------------------- # CMake binaries @@ -13,17 +13,17 @@ set(windows_source_sha256 "79e2fc075b2aa1d93bea55b606a6a053c77c964d30319ba972 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.29.6/cmake-3.29.6-linux-x86_64.tar.gz") -set(linux64_binary_sha256 "28fef61e64840b784da6db35218fd3ae179ff8bf0be1c8a9d075d6185a0e4fdc") +set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0-linux-x86_64.tar.gz") +set(linux64_binary_sha256 "09846a3858583f38189b59177586adf125a08c15f3cddcaf7d7d7081ac86969f") -set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-macos10.10-universal.tar.gz") -set(macos10_10_binary_sha256 "a65f9e66c63bb79f3b6f00e4b67367b6f6c40030ee41cf06580818a74a84b3e9") +set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0-macos10.10-universal.tar.gz") +set(macos10_10_binary_sha256 "54f237212362efa3f192508eeb25d98f2150779ed45c46a77fe356597c3d2749") -set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-windows-i386.zip") -set(win32_binary_sha256 "aca4abb4ad7eb7d97647a572132735af2bd35687826e96f7d23dd7f4d2d7d4a9") +set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0-windows-i386.zip") +set(win32_binary_sha256 "8c7eeafdc58ff7220ab9d69fc90464ac6b7ce5a2d563beacdf42e1e63d201d3c") -set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-windows-x86_64.zip") -set(win64_binary_sha256 "5c648eac06c33477e510bae14ce1f969e9abb38992b71f245633b182fccb474d") +set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0-windows-x86_64.zip") +set(win64_binary_sha256 "f8d2da0eaf3bab9cf065e97bd6d8e1819886f8671d3d4c7bb93cb774123fa448") -set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-windows-arm64.zip") -set(winarm64_binary_sha256 "8f0df498d8b1a076fc9305dde5a06427262a0476e89d4c670a49147b0bc30761") +set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0-windows-arm64.zip") +set(winarm64_binary_sha256 "cb8fb65a8f523daa0ce6c531407ae10fcab8d0eefe18a6ef9fb718c54307d6e3") diff --git a/README.rst b/README.rst index 9823d9c2..f48c1658 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.29.6 `_. +The CMake python wheels provide `CMake 3.30.0 `_. Latest Release -------------- diff --git a/docs/index.rst b/docs/index.rst index a569d0a6..9832dd9f 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.29.6 `_. +The CMake python wheels provide `CMake 3.30.0 `_. .. toctree:: :maxdepth: 2 diff --git a/docs/make_a_release.rst b/docs/make_a_release.rst index 88a2e48b..20b99d1c 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 3.29.6' 3.29.6 main - $ git push origin 3.29.6 + $ git tag --sign -m 'cmake-python-distributions 3.30.0' 3.30.0 main + $ git push origin 3.30.0 .. warning:: diff --git a/docs/update_cmake_version.rst b/docs/update_cmake_version.rst index 856e93b1..4eda75d3 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.29.6 + $ release=3.30.0 $ ./scripts/update_cmake_version.py $release - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.29.6' + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.0' [...] - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.29.6' - done - Updating 'CMakeUrls.cmake' with CMake version 3.29.6 - Updating 'CMakeUrls.cmake' with CMake version 3.29.6 - done + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.0' - done + Updating 'CMakeUrls.cmake' with CMake version 3.30.0 + Updating 'CMakeUrls.cmake' with CMake version 3.30.0 - 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.29.6 + release=3.30.0 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 d6cecff5..cf3c1b2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "cmake" -version = "3.29.6" +version = "3.30.0" 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 d9d61efc..100db680 100644 --- a/tests/test_cmake.py +++ b/tests/test_cmake.py @@ -66,7 +66,7 @@ def _get_scripts(): @all_tools def test_cmake_script(tool): - expected_version = "3.29.6" + expected_version = "3.30.0" 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") @@ -74,6 +74,6 @@ def test_cmake_script(tool): def test_cmake_main(): - expected_version = "3.29.6" + expected_version = "3.30.0" 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}"