Skip to content

Commit e4243a0

Browse files
committed
Merge branch 'main' into pr/605
2 parents f181492 + efe04b0 commit e4243a0

13 files changed

+38
-37
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ jobs:
9292
arch: "armv7l"
9393
build: "musllinux_"
9494
use_qemu: false
95-
- os: windows-2019
95+
- os: windows-2022
9696
arch: "AMD64"
9797
build: ""
9898
use_qemu: false
9999
- os: windows-2022
100100
arch: "ARM64"
101101
build: ""
102102
use_qemu: false
103-
- os: windows-2019
103+
- os: windows-2022
104104
arch: "x86"
105105
build: ""
106106
use_qemu: false
@@ -312,7 +312,7 @@ jobs:
312312
path: dist
313313

314314
- name: Generate artifact attestation for sdist and wheel
315-
uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
315+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
316316
with:
317317
subject-path: "dist/cmake-*"
318318

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
dependency_nice: "OpenSSL"
2727
steps:
2828
- uses: actions/checkout@v4
29-
- uses: wntrblm/nox@2025.02.09
29+
- uses: wntrblm/nox@2025.05.01
3030
- name: "Run update: bump ${{ matrix.dependency_nice }}"
3131
id: bump
3232
run: |

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ repos:
1717
- id: trailing-whitespace
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: "v0.11.7"
20+
rev: "v0.12.1"
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --show-fixes]
2424

2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: "v1.15.0"
26+
rev: "v1.16.1"
2727
hooks:
2828
- id: mypy
2929
files: ^(src|scripts)

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.0.1/cmake-4.0.1.tar.gz")
5-
set(unix_source_sha256 "d630a7e00e63e520b25259f83d425ef783b4661bdc8f47e21c7f23f3780a21e1")
4+
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3.tar.gz")
5+
set(unix_source_sha256 "8d3537b7b7732660ea247398f166be892fe6131d63cc291944b45b91279f3ffb")
66

7-
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1.zip")
8-
set(windows_source_sha256 "c051bddf64ad27339471b9c5e95975946ba890a8b919b4164d2023f4550e4bb8")
7+
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3.zip")
8+
set(windows_source_sha256 "398c49dfe07aa9bfce0f9c0ab29d1492046b9ea8ed28a54e298fc35ca63e0b65")
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.0.1/cmake-4.0.1-linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "d66c11c010588c8256ee20a26b45977cd5b2f4aee2b742d4b8a353769940d147")
16+
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "585ae9e013107bc8e7c7c9ce872cbdcbdff569e675b07ef57aacfb88c886faac")
1818

19-
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-macos10.10-universal.tar.gz")
20-
set(macos10_10_binary_sha256 "ef703f8227a3d32054cd964c1d21912ca0176a36ead4ff35e319cfac84182778")
19+
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-macos10.10-universal.tar.gz")
20+
set(macos10_10_binary_sha256 "31f1d30f47ce1ac25168a70635c2a9160a1a7b54b28f7efac8e8d3c9154add45")
2121

22-
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-windows-i386.zip")
23-
set(win32_binary_sha256 "9174c1f0b519418436eb37c9b419aff40a8b12e12feee649abf04826544f2cdd")
22+
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-i386.zip")
23+
set(win32_binary_sha256 "9f71df30cf0194f7214d135afb277017bd4a58baba2ae14e6ae8b0533b5a3dbf")
2424

25-
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-windows-x86_64.zip")
26-
set(win64_binary_sha256 "31742b9a264b36897e0c904ab3520baf00a5b5ac5bc801aeede28d0d217eec65")
25+
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-x86_64.zip")
26+
set(win64_binary_sha256 "b59a31dfbfa376a4aaea9ff560ff2b29f78ee5f9fb15447fc71ae7bf9fea9379")
2727

28-
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-windows-arm64.zip")
29-
set(winarm64_binary_sha256 "3de43c9c826349bba61eef04de90c12c2ad8632b0e0af31c57145f6da69898fb")
28+
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-arm64.zip")
29+
set(winarm64_binary_sha256 "86ccd6485bbd4bb41a1a858db397be5bca5e0de96858bf8dbba7a64407bd6c00")

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.0.1 <https://cmake.org/cmake/help/v4.0/index.html>`_.
14+
The CMake python wheels provide `CMake 4.0.3 <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 4.0.1 <https://cmake.org/cmake/help/v4.0/index.html>`_.
18+
The CMake python wheels provide `CMake 4.0.3 <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 4.0.1' 4.0.1 main
48-
$ git push origin 4.0.1
47+
$ git tag --sign -m 'cmake-python-distributions 4.0.3' 4.0.3 main
48+
$ git push origin 4.0.3
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.0.1
32+
$ release=4.0.3
3333
$ ./scripts/update_cmake_version.py $release
34-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.1'
34+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.3'
3535
[...]
36-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.1' - done
37-
Updating 'CMakeUrls.cmake' with CMake version 4.0.1
38-
Updating 'CMakeUrls.cmake' with CMake version 4.0.1 - done
36+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.0.3' - done
37+
Updating 'CMakeUrls.cmake' with CMake version 4.0.3
38+
Updating 'CMakeUrls.cmake' with CMake version 4.0.3 - 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.0.1
49+
release=4.0.3
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def bump_openssl(session: nox.Session) -> None:
159159
files = (
160160
"scripts/manylinux-build-and-install-openssl.sh",
161161
)
162-
_bump(session, "OpenSSL", "openssl/openssl", "3.0", "scripts/update_openssl_version.py", files)
162+
_bump(session, "OpenSSL", "openssl/openssl", "3.5", "scripts/update_openssl_version.py", files)
163163

164164

165165
def _get_version() -> str:

pyproject.toml

Lines changed: 2 additions & 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.0.1"
8+
version = "4.0.3"
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"
@@ -181,6 +181,7 @@ exclude = ["src/cmake/_version.py"]
181181
flake8-unused-arguments.ignore-variadic-names = true
182182

183183
[tool.ruff.lint.per-file-ignores]
184+
"_build_backend/backend.py" = ["PLC0415"]
184185
"docs/conf.py" = ["E402"]
185186
"*.pyi" = ["ARG001"]
186187
"noxfile.py" = ["PLW0603"]

0 commit comments

Comments
 (0)