Skip to content

Commit

Permalink
[Bot] Update to CMake 3.30.1 (#521)
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 21, 2024
1 parent be1a1e2 commit 658a0f3
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.0/cmake-3.30.0.tar.gz")
set(unix_source_sha256 "157e5be6055c154c34f580795fe5832f260246506d32954a971300ed7899f579")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1.tar.gz")
set(unix_source_sha256 "df9b3c53e3ce84c3c1b7c253e5ceff7d8d1f084ff0673d048f260e04ccb346e1")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0.zip")
set(windows_source_sha256 "6340b67c9b902ab43ca0906305c3a6fd85edb47dae7236e5a0365af6defb12b9")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1.zip")
set(windows_source_sha256 "d096812e471ab7305c71182e17bf13dd595574f252083bc595341649e98b69ac")

#-----------------------------------------------------------------------------
# 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.0/cmake-3.30.0-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "09846a3858583f38189b59177586adf125a08c15f3cddcaf7d7d7081ac86969f")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "ac31f077ef3378641fa25a3cb980d21b2f083982d3149a8f2eb9154f2b53696b")

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(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "4c1beda2bb2ab830f22fdb29aa6cc844f9b0eb32cca0fb4f01b407688944d181")

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(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1-windows-i386.zip")
set(win32_binary_sha256 "f5fb1d93b82e9a5fbd5853d4b17a130605f0b4ed13a655d1371c2d6d55f9261d")

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(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1-windows-x86_64.zip")
set(win64_binary_sha256 "cf7788ff9d92812da194847d4ec874fc576f34079987d0f20c96cd09e2a16220")

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")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.1/cmake-3.30.1-windows-arm64.zip")
set(winarm64_binary_sha256 "02b433f70aa549449be2d53046d0179590bf3b6290d9fda3fbbb23f96a4f2802")
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.0 <https://cmake.org/cmake/help/v3.30/index.html>`_.
The CMake python wheels provide `CMake 3.30.1 <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.0 <https://cmake.org/cmake/help/v3.30/index.html>`_.
The CMake python wheels provide `CMake 3.30.1 <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.0' 3.30.0 main
$ git push origin 3.30.0
$ git tag --sign -m 'cmake-python-distributions 3.30.1' 3.30.1 main
$ git push origin 3.30.1
.. 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.0
$ release=3.30.1
$ ./scripts/update_cmake_version.py $release
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.30.1'
[...]
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
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.1' - done
Updating 'CMakeUrls.cmake' with CMake version 3.30.1
Updating 'CMakeUrls.cmake' with CMake version 3.30.1 - 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.0
release=3.30.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"
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.0"
version = "3.30.1"
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.0"
expected_version = "3.30.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")
assert output.splitlines()[0] == f"{tool} version {expected_version}"


def test_cmake_main():
expected_version = "3.30.0"
expected_version = "3.30.1"
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 658a0f3

Please sign in to comment.