Skip to content

Commit 7a61b2b

Browse files
[Bot] Update to CMake 4.2.2 (#675)
Co-authored-by: scikit-build-app-bot[bot] <173546081+scikit-build-app-bot[bot]@users.noreply.github.com>
1 parent 0cebca5 commit 7a61b2b

7 files changed

Lines changed: 27 additions & 27 deletions

File tree

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/v4.2.1/cmake-4.2.1.tar.gz")
5-
set(unix_source_sha256 "414aacfac54ba0e78e64a018720b64ed6bfca14b587047b8b3489f407a14a070")
4+
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2.tar.gz")
5+
set(unix_source_sha256 "bbda94dd31636e89eb1cc18f8355f6b01d9193d7676549fba282057e8b730f58")
66

7-
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1.zip")
8-
set(windows_source_sha256 "e63276266293d820eca862b6596cbca7657458ef61eebefaf920eaccc33666f8")
7+
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2.zip")
8+
set(windows_source_sha256 "4d4e3b1f8564440aa7af34b84370c4abef5e5388ec53f54d871a55120e4d2628")
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/v4.2.1/cmake-4.2.1-linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "c059bff1e97a2b6b5b0c0872263627486345ad0ed083298cb21cff2eda883980")
16+
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "893a5c7ca805234accafb0f1c940660822df1964413d612b5971816dd6e54eab")
1818

19-
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-macos10.10-universal.tar.gz")
20-
set(macos10_10_binary_sha256 "3c57c20465cd22487dbe689e2821651479a404c55a4118ac8fdb46f22dac1c48")
19+
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-macos10.10-universal.tar.gz")
20+
set(macos10_10_binary_sha256 "319fb06ebce0791d218510278d44f32bbc41ceb8f49fa5b5721c137d1f41f169")
2121

22-
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-windows-i386.zip")
23-
set(win32_binary_sha256 "696129556482da90293f9d64c1fa68dbe06b0ede80331d7da9aaa03aada6aecf")
22+
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-windows-i386.zip")
23+
set(win32_binary_sha256 "0b8931b98acc7215621a0532f83133f41d295da78a12e269de4e619741acefc5")
2424

25-
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-windows-x86_64.zip")
26-
set(win64_binary_sha256 "dfc2b2afac257555e3b9ce375b12b2883964283a366c17fec96cf4d17e4f1677")
25+
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-windows-x86_64.zip")
26+
set(win64_binary_sha256 "b71b3515bbba0b9b0e05852a3bcb82af548579fdcd6ba7a23f8608518c44bdde")
2727

28-
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.1/cmake-4.2.1-windows-arm64.zip")
29-
set(winarm64_binary_sha256 "96b097ca3a019cd62839d4805958ad0163dd1adedcfbe578730d57c098aaf667")
28+
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2-windows-arm64.zip")
29+
set(winarm64_binary_sha256 "47230d0f4495e2d36c4c2627b952877b2f7cfe404269f0dddba6b85fc89451bd")

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 4.2.1 <https://cmake.org/cmake/help/v4.2/index.html>`_.
14+
The CMake python wheels provide `CMake 4.2.2 <https://cmake.org/cmake/help/v4.2/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 4.2.1 <https://cmake.org/cmake/help/v4.2/index.html>`_.
18+
The CMake python wheels provide `CMake 4.2.2 <https://cmake.org/cmake/help/v4.2/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 4.2.1' 4.2.1 main
48-
$ git push origin 4.2.1
47+
$ git tag --sign -m 'cmake-python-distributions 4.2.2' 4.2.2 main
48+
$ git push origin 4.2.2
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=4.2.1
32+
$ release=4.2.2
3333
$ ./scripts/update_cmake_version.py $release
34-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.1'
34+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.2'
3535
[...]
36-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.1' - done
37-
Updating 'CMakeUrls.cmake' with CMake version 4.2.1
38-
Updating 'CMakeUrls.cmake' with CMake version 4.2.1 - done
36+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.2' - done
37+
Updating 'CMakeUrls.cmake' with CMake version 4.2.2
38+
Updating 'CMakeUrls.cmake' with CMake version 4.2.2 - 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=4.2.1
49+
release=4.2.2
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
@@ -5,7 +5,7 @@ backend-path = ["_build_backend"]
55

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

tests/test_cmake.py

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

6565
@all_tools
6666
def test_cmake_script(tool):
67-
expected_version = "4.2.1"
67+
expected_version = "4.2.2"
6868
scripts = [script for script in _get_scripts() if script.stem == tool]
6969
assert len(scripts) == 1
7070
output = subprocess.check_output([str(scripts[0]), "--version"]).decode("ascii")
7171
assert output.splitlines()[0] == f"{tool} version {expected_version}"
7272

7373

7474
def test_cmake_main():
75-
expected_version = "4.2.1"
75+
expected_version = "4.2.2"
7676
output = subprocess.run([sys.executable, "-m", "cmake", "--version"], text=True, capture_output=True, check=False).stdout
7777
assert output.splitlines()[0] == f"cmake version {expected_version}"

0 commit comments

Comments
 (0)