Skip to content

[Bot] Update to CMake 4.0.1 #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/v4.0.0/cmake-4.0.0.tar.gz")
set(unix_source_sha256 "ddc54ad63b87e153cf50be450a6580f1b17b4881de8941da963ff56991a4083b")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1.tar.gz")
set(unix_source_sha256 "d630a7e00e63e520b25259f83d425ef783b4661bdc8f47e21c7f23f3780a21e1")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0.zip")
set(windows_source_sha256 "7691fb5621e4852d1561cc81d5a09cea6fdff646d4d12d2e893b2c0d4ea4dd10")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1.zip")
set(windows_source_sha256 "c051bddf64ad27339471b9c5e95975946ba890a8b919b4164d2023f4550e4bb8")

#-----------------------------------------------------------------------------
# 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/v4.0.0/cmake-4.0.0-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "a06e6e32da747e569162bc0442a3fd400fadd9db7d4f185c9e4464ab299a294b")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "d66c11c010588c8256ee20a26b45977cd5b2f4aee2b742d4b8a353769940d147")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "94c92c76ac861da7e450d44805be828a8c9b2c3c5dd75144c91248fe1d177eea")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "ef703f8227a3d32054cd964c1d21912ca0176a36ead4ff35e319cfac84182778")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-windows-i386.zip")
set(win32_binary_sha256 "28408c0ca3b4461550bbcad94c526846699ed79366d81b57db0375cb119875dd")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-windows-i386.zip")
set(win32_binary_sha256 "9174c1f0b519418436eb37c9b419aff40a8b12e12feee649abf04826544f2cdd")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-windows-x86_64.zip")
set(win64_binary_sha256 "89e87f3e297b70f1349ee7c5f90783ca96efb986b70c558c799c3c9b1b716456")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-windows-x86_64.zip")
set(win64_binary_sha256 "31742b9a264b36897e0c904ab3520baf00a5b5ac5bc801aeede28d0d217eec65")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.0/cmake-4.0.0-windows-arm64.zip")
set(winarm64_binary_sha256 "6a24f1ea0965a10a2508b16db1ec8b62c83d5323ac33a1aa7d201797ba147302")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-windows-arm64.zip")
set(winarm64_binary_sha256 "3de43c9c826349bba61eef04de90c12c2ad8632b0e0af31c57145f6da69898fb")
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 4.0.0 <https://cmake.org/cmake/help/v4.0/index.html>`_.
The CMake python wheels provide `CMake 4.0.1 <https://cmake.org/cmake/help/v4.0/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 4.0.0 <https://cmake.org/cmake/help/v4.0/index.html>`_.
The CMake python wheels provide `CMake 4.0.1 <https://cmake.org/cmake/help/v4.0/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 4.0.0' 4.0.0 main
$ git push origin 4.0.0
$ git tag --sign -m 'cmake-python-distributions 4.0.1' 4.0.1 main
$ git push origin 4.0.1

.. 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=4.0.0
$ release=4.0.1
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.0'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.1'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.0' - done
Updating 'CMakeUrls.cmake' with CMake version 4.0.0
Updating 'CMakeUrls.cmake' with CMake version 4.0.0 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.1' - done
Updating 'CMakeUrls.cmake' with CMake version 4.0.1
Updating 'CMakeUrls.cmake' with CMake version 4.0.1 - 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=4.0.0
release=4.0.1
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 = "4.0.0"
version = "4.0.1"
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 = "4.0.0"
expected_version = "4.0.1"
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 = "4.0.0"
expected_version = "4.0.1"
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}"
Loading