Skip to content

Commit 658a0da

Browse files
[Bot] Update to CMake 4.0.0 (#598)
Co-authored-by: scikit-build-app-bot[bot] <173546081+scikit-build-app-bot[bot]@users.noreply.github.com>
1 parent 8aa0f61 commit 658a0da

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.31.6/cmake-3.31.6.tar.gz")
5-
set(unix_source_sha256 "653427f0f5014750aafff22727fb2aa60c6c732ca91808cfb78ce22ddd9e55f0")
4+
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0.tar.gz")
5+
set(unix_source_sha256 "ddc54ad63b87e153cf50be450a6580f1b17b4881de8941da963ff56991a4083b")
66

7-
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6.zip")
8-
set(windows_source_sha256 "106df3d82f20aaa52a5f575c836effc5713a2fe3235f38e9be5c8a14b8d35530")
7+
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0.zip")
8+
set(windows_source_sha256 "7691fb5621e4852d1561cc81d5a09cea6fdff646d4d12d2e893b2c0d4ea4dd10")
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.31.6/cmake-3.31.6-linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "5a1133ff103c71eb5120e2cc3de922733e7d8a26a98ae716397e8676adb367bf")
16+
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "a06e6e32da747e569162bc0442a3fd400fadd9db7d4f185c9e4464ab299a294b")
1818

19-
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-macos10.10-universal.tar.gz")
20-
set(macos10_10_binary_sha256 "dc49fe67e0841e1d21b9e694d4858bbc06118165be5ebd8da0f2028216d56e6c")
19+
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-macos10.10-universal.tar.gz")
20+
set(macos10_10_binary_sha256 "94c92c76ac861da7e450d44805be828a8c9b2c3c5dd75144c91248fe1d177eea")
2121

22-
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-windows-i386.zip")
23-
set(win32_binary_sha256 "005ef676975aa0f8348fc2c8011a913f9676f07f602ca624ee0811b427d3fd84")
22+
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-windows-i386.zip")
23+
set(win32_binary_sha256 "28408c0ca3b4461550bbcad94c526846699ed79366d81b57db0375cb119875dd")
2424

25-
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-windows-x86_64.zip")
26-
set(win64_binary_sha256 "d163cd3ab4959b0a53fa8988f2ddbd2e6c501658201e6a154386bad9dbe4f836")
25+
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-windows-x86_64.zip")
26+
set(win64_binary_sha256 "89e87f3e297b70f1349ee7c5f90783ca96efb986b70c558c799c3c9b1b716456")
2727

28-
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-windows-arm64.zip")
29-
set(winarm64_binary_sha256 "fa648fd417f44e6cb08928964a480ade0d18df421f9b623639dba22f9b301e4e")
28+
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-windows-arm64.zip")
29+
set(winarm64_binary_sha256 "6a24f1ea0965a10a2508b16db1ec8b62c83d5323ac33a1aa7d201797ba147302")

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

66
[project]
77
name = "cmake"
8-
version = "3.31.6"
8+
version = "4.0.0"
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
@@ -68,14 +68,14 @@ def _get_scripts():
6868

6969
@all_tools
7070
def test_cmake_script(tool):
71-
expected_version = "3.31.6"
71+
expected_version = "4.0.0"
7272
scripts = [script for script in _get_scripts() if script.stem == tool]
7373
assert len(scripts) == 1
7474
output = subprocess.check_output([str(scripts[0]), "--version"]).decode("ascii")
7575
assert output.splitlines()[0] == f"{tool} version {expected_version}"
7676

7777

7878
def test_cmake_main():
79-
expected_version = "3.31.6"
79+
expected_version = "4.0.0"
8080
output = subprocess.run([sys.executable, "-m", "cmake", "--version"], text=True, capture_output=True, check=False).stdout
8181
assert output.splitlines()[0] == f"cmake version {expected_version}"

0 commit comments

Comments
 (0)