Skip to content

Commit

Permalink
[Bot] Update to CMake 3.31.3
Browse files Browse the repository at this point in the history
  • Loading branch information
scikit-build-app-bot[bot] authored Dec 20, 2024
1 parent 47e072b commit 9780bac
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.31.2/cmake-3.31.2.tar.gz")
set(unix_source_sha256 "42abb3f48f37dbd739cdfeb19d3712db0c5935ed5c2aef6c340f9ae9114238a2")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3.tar.gz")
set(unix_source_sha256 "fac45bc6d410b49b3113ab866074888d6c9e9dc81a141874446eb239ac38cb87")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.zip")
set(windows_source_sha256 "71625d57505896037d212ccec3d98ddb66999142c3678c5c8ddcfefcaae1e0fc")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3.zip")
set(windows_source_sha256 "dc4053ff3d0ada925a62a5ea5075b1e8d3e529bd1c7b3f37716ccadd6d16964c")

#-----------------------------------------------------------------------------
# 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.31.2/cmake-3.31.2-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "fd76a2201de23a5cb392f2d2abe3a0aa40d4870c39fd92ed52c896daf55e4aa1")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "442b93b3db0f6c6501a74add587acca5ea6b8c1526ccca7bc8d89fc592036971")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "82d2697f842f9689e156ae4d66df595e120431b3ca7d3e0540d8d6ecc2a15dea")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "b99f09524ef3389b1b32f6f6641d55566adc6e1122f7a21cf3fca2f72b9bf6e5")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-windows-i386.zip")
set(win32_binary_sha256 "e497ed732e1381b9db1f8e58864cc0765bc1714b620470c8c7d36f30ad454784")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3-windows-i386.zip")
set(win32_binary_sha256 "bb0e352803bc1d45cd77dfc74344c297e8ea0555bf40d59157eecf2369ba5baa")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-windows-x86_64.zip")
set(win64_binary_sha256 "109c29a744d648863d3637b4963c90088045c8d92799c68c9b9d8713407776c8")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3-windows-x86_64.zip")
set(win64_binary_sha256 "d41e863589a3c152b1d14ecac2ffd1926f29aba64528984fcda8fd2b630f44ff")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-windows-arm64.zip")
set(winarm64_binary_sha256 "909b8c354a96dd261c395e29045e379a3fd41af81ae449c67e66550d59ed43ba")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.3/cmake-3.31.3-windows-arm64.zip")
set(winarm64_binary_sha256 "469f601300462e1b27313b69b8361e8c8584021f3dbd383e824c28cd4fa64668")
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.31.2 <https://cmake.org/cmake/help/v3.31/index.html>`_.
The CMake python wheels provide `CMake 3.31.3 <https://cmake.org/cmake/help/v3.31/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.31.2 <https://cmake.org/cmake/help/v3.31/index.html>`_.
The CMake python wheels provide `CMake 3.31.3 <https://cmake.org/cmake/help/v3.31/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.31.2' 3.31.2 main
$ git push origin 3.31.2
$ git tag --sign -m 'cmake-python-distributions 3.31.3' 3.31.3 main
$ git push origin 3.31.3
.. 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.31.2
$ release=3.31.3
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.2'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.3'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.2' - done
Updating 'CMakeUrls.cmake' with CMake version 3.31.2
Updating 'CMakeUrls.cmake' with CMake version 3.31.2 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.3' - done
Updating 'CMakeUrls.cmake' with CMake version 3.31.3
Updating 'CMakeUrls.cmake' with CMake version 3.31.3 - 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.31.2
release=3.31.3
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 @@ -5,7 +5,7 @@ backend-path = ["_build_backend"]

[project]
name = "cmake"
version = "3.31.2"
version = "3.31.3"
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 @@ -68,14 +68,14 @@ def _get_scripts():

@all_tools
def test_cmake_script(tool):
expected_version = "3.31.2"
expected_version = "3.31.3"
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.31.2"
expected_version = "3.31.3"
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 9780bac

Please sign in to comment.