Skip to content

Commit

Permalink
[Bot] Update to CMake 3.31.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scikit-build-app-bot[bot] authored and jcfr committed Dec 6, 2024
1 parent 66eddd4 commit e1a5de2
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
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/v3.31.1/cmake-3.31.1.tar.gz")
set(unix_source_sha256 "c4fc2a9bd0cd5f899ccb2fb81ec422e175090bc0de5d90e906dd453b53065719")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.tar.gz")
set(unix_source_sha256 "42abb3f48f37dbd739cdfeb19d3712db0c5935ed5c2aef6c340f9ae9114238a2")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1.zip")
set(windows_source_sha256 "040908c806fd9586f068968f9042bda350c6287bb54de9cb1ef126433d930409")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.zip")
set(windows_source_sha256 "71625d57505896037d212ccec3d98ddb66999142c3678c5c8ddcfefcaae1e0fc")

#-----------------------------------------------------------------------------
# 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/v3.31.1/cmake-3.31.1-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "3b72fde0d40fa8be617667ea08d12c5ee47f6cf8950c2fbfcf2acfb5f83fb9de")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "fd76a2201de23a5cb392f2d2abe3a0aa40d4870c39fd92ed52c896daf55e4aa1")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "bc745f0a268bceef799c5ad23d96c5ea22822d3584b0aea75394d40cf703377c")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "82d2697f842f9689e156ae4d66df595e120431b3ca7d3e0540d8d6ecc2a15dea")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1-windows-i386.zip")
set(win32_binary_sha256 "6aa366be9768fed786fd765101191502c8fcdcc62239a6688e046c71bef8f8a9")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-windows-i386.zip")
set(win32_binary_sha256 "e497ed732e1381b9db1f8e58864cc0765bc1714b620470c8c7d36f30ad454784")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1-windows-x86_64.zip")
set(win64_binary_sha256 "bc187431e9aac5386b48d6d57e92f9cbf189846a9b38fc352328ff0413591767")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-windows-x86_64.zip")
set(win64_binary_sha256 "109c29a744d648863d3637b4963c90088045c8d92799c68c9b9d8713407776c8")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1-windows-arm64.zip")
set(winarm64_binary_sha256 "62a8f41ac0d18e9b5c9c62f98fb4cfc15c532c12b4d4a4cfbd27ebfcd0d993dd")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-windows-arm64.zip")
set(winarm64_binary_sha256 "909b8c354a96dd261c395e29045e379a3fd41af81ae449c67e66550d59ed43ba")
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 3.31.1 <https://cmake.org/cmake/help/v3.31/index.html>`_.
The CMake python wheels provide `CMake 3.31.2 <https://cmake.org/cmake/help/v3.31/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 3.31.1 <https://cmake.org/cmake/help/v3.31/index.html>`_.
The CMake python wheels provide `CMake 3.31.2 <https://cmake.org/cmake/help/v3.31/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 3.31.1' 3.31.1 main
$ git push origin 3.31.1
$ git tag --sign -m 'cmake-python-distributions 3.31.2' 3.31.2 main
$ git push origin 3.31.2
.. 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=3.31.1
$ release=3.31.2
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.1'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.2'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.1' - done
Updating 'CMakeUrls.cmake' with CMake version 3.31.1
Updating 'CMakeUrls.cmake' with CMake version 3.31.1 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.2' - done
Updating 'CMakeUrls.cmake' with CMake version 3.31.2
Updating 'CMakeUrls.cmake' with CMake version 3.31.2 - 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=3.31.1
release=3.31.2
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 @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "cmake"
version = "3.31.1"
version = "3.31.2"
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 @@ -66,14 +66,14 @@ def _get_scripts():

@all_tools
def test_cmake_script(tool):
expected_version = "3.31.1"
expected_version = "3.31.2"
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 = "3.31.1"
expected_version = "3.31.2"
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}"

0 comments on commit e1a5de2

Please sign in to comment.