Skip to content

Commit d5346e8

Browse files
[Bot] Update to CMake 3.31.0 (#554)
Co-authored-by: scikit-build-app-bot[bot] <173546081+scikit-build-app-bot[bot]@users.noreply.github.com>
1 parent d44dd33 commit d5346e8

File tree

7 files changed

+27
-27
lines changed

7 files changed

+27
-27
lines changed

CMakeUrls.cmake

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11

22
#-----------------------------------------------------------------------------
33
# CMake sources
4-
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5.tar.gz")
5-
set(unix_source_sha256 "9f55e1a40508f2f29b7e065fa08c29f82c402fa0402da839fffe64a25755a86d")
4+
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0.tar.gz")
5+
set(unix_source_sha256 "300b71db6d69dcc1ab7c5aae61cbc1aa2778a3e00cbd918bc720203e311468c3")
66

7-
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5.zip")
8-
set(windows_source_sha256 "8c1d3f025497aaef61a076633f8d265b8d3f0dcb7623f532b93ee718d226e758")
7+
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0.zip")
8+
set(windows_source_sha256 "ff6f76bef08286f3241302e519bb35d4219929ee191b92413bccedf606fbeab4")
99

1010
#-----------------------------------------------------------------------------
1111
# CMake binaries
1212

1313
set(linux32_binary_url "NA") # Linux 32-bit binaries not available
1414
set(linux32_binary_sha256 "NA")
1515

16-
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "f747d9b23e1a252a8beafb4ed2bc2ddf78cff7f04a8e4de19f4ff88e9b51dc9d")
16+
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "0fcb338b4515044f9ac77543550ac92c314c58f6f95aafcac5cd36aa75db6924")
1818

19-
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-macos10.10-universal.tar.gz")
20-
set(macos10_10_binary_sha256 "db21c9d92e544b3a47820627fe89bde8191e6bfb49b9e43d726cec5a5ef96ca7")
19+
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-macos10.10-universal.tar.gz")
20+
set(macos10_10_binary_sha256 "58863bf65412e0fcaacd7dae2fcf0b5f33d78e46d0b84b547c946c59f4d19960")
2121

22-
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-windows-i386.zip")
23-
set(win32_binary_sha256 "f2534dcd3e09b655c6ec5e0f12264eea8d2a07d276c59f25660c413e63e56730")
22+
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-windows-i386.zip")
23+
set(win32_binary_sha256 "62789a29b61c17a5da47a8fda10a4c553c891d4846310addc6b3a76631621026")
2424

25-
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-windows-x86_64.zip")
26-
set(win64_binary_sha256 "5ab6e1faf20256ee4f04886597e8b6c3b1bd1297b58a68a58511af013710004b")
25+
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-windows-x86_64.zip")
26+
set(win64_binary_sha256 "f4b499f71cf44115a1d711d4867da3c6bd2f3f4d7121c213ace979757640385c")
2727

28-
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.30.5/cmake-3.30.5-windows-arm64.zip")
29-
set(winarm64_binary_sha256 "b5fa431bd569b591717a9a0f77c0ab56b072ef8603f924401227c178ac7072d9")
28+
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-windows-arm64.zip")
29+
set(winarm64_binary_sha256 "3bae17886ad47909aadd89e41932a109a8b6a708faef6f28de2d4554c7c08276")

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The suite of CMake tools were created by Kitware in response to the need
1111
for a powerful, cross-platform build environment for open-source projects
1212
such as ITK and VTK.
1313

14-
The CMake python wheels provide `CMake 3.30.5 <https://cmake.org/cmake/help/v3.30/index.html>`_.
14+
The CMake python wheels provide `CMake 3.31.0 <https://cmake.org/cmake/help/v3.31/index.html>`_.
1515

1616
Latest Release
1717
--------------

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The suite of CMake tools were created by Kitware in response to the need
1515
for a powerful, cross-platform build environment for open-source projects
1616
such as `ITK <https://itk.org>`_ and `VTK <https://vtk.org>`_.
1717

18-
The CMake python wheels provide `CMake 3.30.5 <https://cmake.org/cmake/help/v3.30/index.html>`_.
18+
The CMake python wheels provide `CMake 3.31.0 <https://cmake.org/cmake/help/v3.31/index.html>`_.
1919

2020
.. toctree::
2121
:maxdepth: 2

docs/make_a_release.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Prerequisites
4444

4545
.. code:: console
4646
47-
$ git tag --sign -m 'cmake-python-distributions 3.30.5' 3.30.5 main
48-
$ git push origin 3.30.5
47+
$ git tag --sign -m 'cmake-python-distributions 3.31.0' 3.31.0 main
48+
$ git push origin 3.31.0
4949
5050
.. warning::
5151

docs/update_cmake_version.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Classic procedure:
2929
2. Execute `scripts/update_cmake_version.py` command line tool with the desired
3030
``X.Y.Z`` CMake version available for download. For example::
3131

32-
$ release=3.30.5
32+
$ release=3.31.0
3333
$ ./scripts/update_cmake_version.py $release
34-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.5'
34+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.0'
3535
[...]
36-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.30.5' - done
37-
Updating 'CMakeUrls.cmake' with CMake version 3.30.5
38-
Updating 'CMakeUrls.cmake' with CMake version 3.30.5 - done
36+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.0' - done
37+
Updating 'CMakeUrls.cmake' with CMake version 3.31.0
38+
Updating 'CMakeUrls.cmake' with CMake version 3.31.0 - done
3939
Updating docs/index.rst
4040
Updating docs/index.rst - done
4141
Updating README.rst
@@ -46,7 +46,7 @@ Classic procedure:
4646
3. Create a topic named `update-to-cmake-X.Y.Z` and commit the changes.
4747
For example::
4848

49-
release=3.30.5
49+
release=3.31.0
5050
git switch -c update-to-cmake-$release
5151
git add -u CMakeUrls.cmake docs/index.rst README.rst tests/test_cmake.py docs/update_cmake_version.rst
5252
git commit -m "Update to CMake $release"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "cmake"
7-
version = "3.30.5"
7+
version = "3.31.0"
88
description = "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
99
keywords = ["CMake", "build", "c++", "fortran", "cross-platform", "cross-compilation"]
1010
readme = "README.rst"

tests/test_cmake.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ def _get_scripts():
6666

6767
@all_tools
6868
def test_cmake_script(tool):
69-
expected_version = "3.30.5"
69+
expected_version = "3.31.0"
7070
scripts = [script for script in _get_scripts() if script.stem == tool]
7171
assert len(scripts) == 1
7272
output = subprocess.check_output([str(scripts[0]), "--version"]).decode("ascii")
7373
assert output.splitlines()[0] == f"{tool} version {expected_version}"
7474

7575

7676
def test_cmake_main():
77-
expected_version = "3.30.5"
77+
expected_version = "3.31.0"
7878
output = subprocess.run([sys.executable, "-m", "cmake", "--version"], text=True, capture_output=True, check=False).stdout
7979
assert output.splitlines()[0] == f"cmake version {expected_version}"

0 commit comments

Comments
 (0)