Skip to content

Commit 238924b

Browse files
authored
update to cmake 3.29.6 (#509)
* chore: use uv if available in noxfile Signed-off-by: Henry Schreiner <[email protected]> * Update to CMake 3.29.6 --------- Signed-off-by: Henry Schreiner <[email protected]>
1 parent 0ba10fc commit 238924b

File tree

7 files changed

+27
-25
lines changed

7 files changed

+27
-25
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.29.5/cmake-3.29.5.tar.gz")
5-
set(unix_source_sha256 "dd63da7d763c0db455ca232f2c443f5234fe0b11f8bd6958a81d29cc987dfd6e")
4+
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6.tar.gz")
5+
set(unix_source_sha256 "1391313003b83d48e2ab115a8b525a557f78d8c1544618b48d1d90184a10f0af")
66

7-
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.29.5/cmake-3.29.5.zip")
8-
set(windows_source_sha256 "aa6e2e75926e3e82d881adfad4581f00e0d646c5e873a935bf425c4506a54fef")
7+
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6.zip")
8+
set(windows_source_sha256 "79e2fc075b2aa1d93bea55b606a6a053c77c964d30319ba972046bf6cd327d11")
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.29.5/cmake-3.29.5-linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "92629f95e15e7c2e88726c57a984ffdc5cf248e354f7ab791bc86d2ad513903e")
16+
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "28fef61e64840b784da6db35218fd3ae179ff8bf0be1c8a9d075d6185a0e4fdc")
1818

19-
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.5/cmake-3.29.5-macos10.10-universal.tar.gz")
20-
set(macos10_10_binary_sha256 "a110d173ab839854fc0b19b9f29f213c1112106e2858c1a1fe7973d4bb13a536")
19+
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-macos10.10-universal.tar.gz")
20+
set(macos10_10_binary_sha256 "a65f9e66c63bb79f3b6f00e4b67367b6f6c40030ee41cf06580818a74a84b3e9")
2121

22-
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.5/cmake-3.29.5-windows-i386.zip")
23-
set(win32_binary_sha256 "7587b1aaab131ca6586cb241bbf1d29a4e5e322063788a8ea260cc7f492a46bd")
22+
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-windows-i386.zip")
23+
set(win32_binary_sha256 "aca4abb4ad7eb7d97647a572132735af2bd35687826e96f7d23dd7f4d2d7d4a9")
2424

25-
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.5/cmake-3.29.5-windows-x86_64.zip")
26-
set(win64_binary_sha256 "f85db8361cb7eb11ceb6b2f1ee42bec7234bb8d9e487ea78c00de64771768d92")
25+
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-windows-x86_64.zip")
26+
set(win64_binary_sha256 "5c648eac06c33477e510bae14ce1f969e9abb38992b71f245633b182fccb474d")
2727

28-
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.5/cmake-3.29.5-windows-arm64.zip")
29-
set(winarm64_binary_sha256 "9c67d16560125ebf1278ef1b3072914a60bff780522b28c0096f364f775a8e55")
28+
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.29.6/cmake-3.29.6-windows-arm64.zip")
29+
set(winarm64_binary_sha256 "8f0df498d8b1a076fc9305dde5a06427262a0476e89d4c670a49147b0bc30761")

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.29.5 <https://cmake.org/cmake/help/v3.29/index.html>`_.
14+
The CMake python wheels provide `CMake 3.29.6 <https://cmake.org/cmake/help/v3.29/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.29.5 <https://cmake.org/cmake/help/v3.29/index.html>`_.
18+
The CMake python wheels provide `CMake 3.29.6 <https://cmake.org/cmake/help/v3.29/index.html>`_.
1919

2020
.. toctree::
2121
:maxdepth: 2

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.29.5
32+
$ release=3.29.6
3333
$ ./scripts/update_cmake_version.py $release
34-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.29.5'
34+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.29.6'
3535
[...]
36-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.29.5' - done
37-
Updating 'CMakeUrls.cmake' with CMake version 3.29.5
38-
Updating 'CMakeUrls.cmake' with CMake version 3.29.5 - done
36+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.29.6' - done
37+
Updating 'CMakeUrls.cmake' with CMake version 3.29.6
38+
Updating 'CMakeUrls.cmake' with CMake version 3.29.6 - 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.29.5
49+
release=3.29.6
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"

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
import nox
66

7+
nox.needs_version = ">=2024.3.2"
8+
nox.options.default_venv_backend = "uv|virtualenv"
79
nox.options.sessions = ["lint", "build", "tests"]
810

911
BUILD_ENV = {

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.29.5.1"
7+
version = "3.29.6"
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.29.5"
69+
expected_version = "3.29.6"
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.29.5"
77+
expected_version = "3.29.6"
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)