diff --git a/CMakeUrls.cmake b/CMakeUrls.cmake index f4493dce..8f59985a 100644 --- a/CMakeUrls.cmake +++ b/CMakeUrls.cmake @@ -1,11 +1,11 @@ #----------------------------------------------------------------------------- # CMake sources -set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.3/cmake-4.2.3.tar.gz") -set(unix_source_sha256 "7efaccde8c5a6b2968bad6ce0fe60e19b6e10701a12fce948c2bf79bac8a11e9") +set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0.tar.gz") +set(unix_source_sha256 "f51b3c729f85d8dde46a92c071d2826ea6afb77d850f46894125de7cc51baa77") -set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.2.3/cmake-4.2.3.zip") -set(windows_source_sha256 "444715a33dc8bcb03221fcb4e849b948fc4392005c5abc52e2c7abbcb158374b") +set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0.zip") +set(windows_source_sha256 "ac409b32852ea2c5c09e66666058297c8239173b80304eee903906b01232aacd") #----------------------------------------------------------------------------- # CMake binaries @@ -13,17 +13,17 @@ set(windows_source_sha256 "444715a33dc8bcb03221fcb4e849b948fc4392005c5abc52e2 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.2.3/cmake-4.2.3-linux-x86_64.tar.gz") -set(linux64_binary_sha256 "5bb505d5e0cca0480a330f7f27ccf52c2b8b5214c5bba97df08899f5ef650c23") +set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0-linux-x86_64.tar.gz") +set(linux64_binary_sha256 "201bdabe17a54e017f119cffa247648e9c44327e52473c2cc60a88fded94652a") -set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.3/cmake-4.2.3-macos10.10-universal.tar.gz") -set(macos10_10_binary_sha256 "910b965a6fc72928412dd369c957643ff17a0990cc2435a2573b04c1352d9ff3") +set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0-macos10.10-universal.tar.gz") +set(macos10_10_binary_sha256 "816f62d02acc527d8cac380007a30b9ff6a62dba6b9ca48a68c68df233871560") -set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.3/cmake-4.2.3-windows-i386.zip") -set(win32_binary_sha256 "ad46d82c99a818a2cdd694fe82bec99f0cb557d864dc5fff5d54d347c7cdd98f") +set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0-windows-i386.zip") +set(win32_binary_sha256 "a768baeff9662fc2ae10d8fed87ee6ee5f1c5bc51b53be15db04713210a598e3") -set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.3/cmake-4.2.3-windows-x86_64.zip") -set(win64_binary_sha256 "eb4ebf5155dbb05436d675706b2a08189430df58904257ae5e91bcba4c86933c") +set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0-windows-x86_64.zip") +set(win64_binary_sha256 "0f664f44eeb5b35b77f83e0984459c0dfa70539bd215c54ae1059604fd4f77ea") -set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.2.3/cmake-4.2.3-windows-arm64.zip") -set(winarm64_binary_sha256 "751b206b1cf65151b72c525d26267c1d9beebf8fafc365ae00286571d9fd3ed9") +set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v4.3.0/cmake-4.3.0-windows-arm64.zip") +set(winarm64_binary_sha256 "174cdb8a877ce9d27ce2e7bd5ed74e48b333fb87b82ed7962c6c2325d35065e1") diff --git a/README.rst b/README.rst index 154ea53f..60877820 100644 --- a/README.rst +++ b/README.rst @@ -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.2.3 `_. +The CMake python wheels provide `CMake 4.3.0 `_. Latest Release -------------- diff --git a/docs/index.rst b/docs/index.rst index d37647c4..6b430364 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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 `_ and `VTK `_. -The CMake python wheels provide `CMake 4.2.3 `_. +The CMake python wheels provide `CMake 4.3.0 `_. .. toctree:: :maxdepth: 2 diff --git a/docs/make_a_release.rst b/docs/make_a_release.rst index d912fd66..35681c0c 100644 --- a/docs/make_a_release.rst +++ b/docs/make_a_release.rst @@ -44,8 +44,8 @@ Prerequisites .. code:: console - $ git tag --sign -m 'cmake-python-distributions 4.2.3' 4.2.3 main - $ git push origin 4.2.3 + $ git tag --sign -m 'cmake-python-distributions 4.3.0' 4.3.0 main + $ git push origin 4.3.0 .. warning:: diff --git a/docs/update_cmake_version.rst b/docs/update_cmake_version.rst index bd4802cf..9e5e3686 100644 --- a/docs/update_cmake_version.rst +++ b/docs/update_cmake_version.rst @@ -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.2.3 + $ release=4.3.0 $ ./scripts/update_cmake_version.py $release - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.3' + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.3.0' [...] - Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.2.3' - done - Updating 'CMakeUrls.cmake' with CMake version 4.2.3 - Updating 'CMakeUrls.cmake' with CMake version 4.2.3 - done + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v4.3.0' - done + Updating 'CMakeUrls.cmake' with CMake version 4.3.0 + Updating 'CMakeUrls.cmake' with CMake version 4.3.0 - done Updating docs/index.rst Updating docs/index.rst - done Updating README.rst @@ -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.2.3 + release=4.3.0 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" diff --git a/pyproject.toml b/pyproject.toml index 888a271f..1dc73df1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["_build_backend"] [project] name = "cmake" -version = "4.2.3" +version = "4.3.0" 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" diff --git a/tests/test_cmake.py b/tests/test_cmake.py index 0995d828..3696bf41 100644 --- a/tests/test_cmake.py +++ b/tests/test_cmake.py @@ -64,7 +64,7 @@ def _get_scripts(): @all_tools def test_cmake_script(tool): - expected_version = "4.2.3" + expected_version = "4.3.0" 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") @@ -72,6 +72,6 @@ def test_cmake_script(tool): def test_cmake_main(): - expected_version = "4.2.3" + expected_version = "4.3.0" 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}"