Skip to content

Commit

Permalink
[Bot] Update to CMake 3.30.5 (#547)
Browse files Browse the repository at this point in the history
Co-authored-by: scikit-build-app-bot[bot] <173546081+scikit-build-app-bot[bot]@users.noreply.github.com>
  • Loading branch information
scikit-build-app-bot[bot] authored Oct 14, 2024
1 parent 48e612d commit 23b5d8f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
28 changes: 14 additions & 14 deletions CMakeUrls.cmake
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@

#-----------------------------------------------------------------------------
# CMake sources
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4.tar.gz")
set(unix_source_sha256 "c759c97274f1e7aaaafcb1f0d261f9de9bf3a5d6ecb7e2df616324a46fe704b2")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5.tar.gz")
set(unix_source_sha256 "9f55e1a40508f2f29b7e065fa08c29f82c402fa0402da839fffe64a25755a86d")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4.zip")
set(windows_source_sha256 "1ad1cb5847dad5289524621c89cc2b0e3cd6ee616b519d2def1f7a23aaabedc1")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5.zip")
set(windows_source_sha256 "8c1d3f025497aaef61a076633f8d265b8d3f0dcb7623f532b93ee718d226e758")

#-----------------------------------------------------------------------------
# CMake binaries

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.30.4/cmake-3.30.4-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "c959e6d15714f798424960cd296632634f3ef57c2712559a7945170f0bcad205")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "f747d9b23e1a252a8beafb4ed2bc2ddf78cff7f04a8e4de19f4ff88e9b51dc9d")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "e7c29788bf0e99637f14cc7d17ba2bab1ddd009eed697aad4463782d6284b950")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "db21c9d92e544b3a47820627fe89bde8191e6bfb49b9e43d726cec5a5ef96ca7")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-windows-i386.zip")
set(win32_binary_sha256 "3c24b0d8eba16383d9a2715e7c66c88bb4ba2ffd02a81f97d6bd0a3486b60ce5")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-windows-i386.zip")
set(win32_binary_sha256 "f2534dcd3e09b655c6ec5e0f12264eea8d2a07d276c59f25660c413e63e56730")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-windows-x86_64.zip")
set(win64_binary_sha256 "cd7363aab96a33237b8913024201863ed218000a0535f3bc9cc6519325416dee")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-windows-x86_64.zip")
set(win64_binary_sha256 "5ab6e1faf20256ee4f04886597e8b6c3b1bd1297b58a68a58511af013710004b")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-windows-arm64.zip")
set(winarm64_binary_sha256 "cf293501e0ec1bd12e9ed7365c03937ac80742e5d29b836dc3b125bb76d25e98")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-windows-arm64.zip")
set(winarm64_binary_sha256 "b5fa431bd569b591717a9a0f77c0ab56b072ef8603f924401227c178ac7072d9")
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.4 <https://cmake.org/cmake/help/v3.30/index.html>`_.
The CMake python wheels provide `CMake 3.30.5 <https://cmake.org/cmake/help/v3.30/index.html>`_.

Latest Release
--------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://itk.org>`_ and `VTK <https://vtk.org>`_.

The CMake python wheels provide `CMake 3.30.4 <https://cmake.org/cmake/help/v3.30/index.html>`_.
The CMake python wheels provide `CMake 3.30.5 <https://cmake.org/cmake/help/v3.30/index.html>`_.

.. toctree::
:maxdepth: 2
Expand Down
4 changes: 2 additions & 2 deletions docs/make_a_release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Prerequisites

.. code:: console
$ git tag --sign -m 'cmake-python-distributions 3.30.4' 3.30.4 main
$ git push origin 3.30.4
$ git tag --sign -m 'cmake-python-distributions 3.30.5' 3.30.5 main
$ git push origin 3.30.5
.. warning::

Expand Down
12 changes: 6 additions & 6 deletions docs/update_cmake_version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.4
$ release=3.30.5
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.4'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.5'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.4' - done
Updating 'CMakeUrls.cmake' with CMake version 3.30.4
Updating 'CMakeUrls.cmake' with CMake version 3.30.4 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.5' - done
Updating 'CMakeUrls.cmake' with CMake version 3.30.5
Updating 'CMakeUrls.cmake' with CMake version 3.30.5 - done
Updating docs/index.rst
Updating docs/index.rst - done
Updating README.rst
Expand All @@ -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.30.4
release=3.30.5
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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "cmake"
version = "3.30.4"
version = "3.30.5"
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"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ def _get_scripts():

@all_tools
def test_cmake_script(tool):
expected_version = "3.30.4"
expected_version = "3.30.5"
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")
assert output.splitlines()[0] == f"{tool} version {expected_version}"


def test_cmake_main():
expected_version = "3.30.4"
expected_version = "3.30.5"
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}"

0 comments on commit 23b5d8f

Please sign in to comment.