Skip to content

Commit

Permalink
[Bot] Update to CMake 3.30.0 (#516)
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 Jul 3, 2024
1 parent f255925 commit dbec7fc
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.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

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")
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.29.6 <https://cmake.org/cmake/help/v3.29/index.html>`_.
The CMake python wheels provide `CMake 3.30.0 <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.29.6 <https://cmake.org/cmake/help/v3.29/index.html>`_.
The CMake python wheels provide `CMake 3.30.0 <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.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::

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.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
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.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"
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.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"
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.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")
assert output.splitlines()[0] == f"{tool} version {expected_version}"


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}"

0 comments on commit dbec7fc

Please sign in to comment.