diff --git a/CMakeUrls.cmake b/CMakeUrls.cmake index ae6a6985..1e98a9b2 100644 --- a/CMakeUrls.cmake +++ b/CMakeUrls.cmake @@ -1,11 +1,11 @@ #----------------------------------------------------------------------------- # CMake sources -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(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4.tar.gz") +set(unix_source_sha256 "a6130bfe75f5ba5c73e672e34359f7c0a1931521957e8393a5c2922c8b0f7f25") -set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.zip") -set(windows_source_sha256 "71625d57505896037d212ccec3d98ddb66999142c3678c5c8ddcfefcaae1e0fc") +set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4.zip") +set(windows_source_sha256 "4f6911f6cb4aa9387160ac9e56147653c36b82e1bb47fd2a4130c0afb477f01b") #----------------------------------------------------------------------------- # CMake binaries @@ -13,17 +13,17 @@ set(windows_source_sha256 "71625d57505896037d212ccec3d98ddb66999142c3678c5c8d 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.2/cmake-3.31.2-linux-x86_64.tar.gz") -set(linux64_binary_sha256 "fd76a2201de23a5cb392f2d2abe3a0aa40d4870c39fd92ed52c896daf55e4aa1") +set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-linux-x86_64.tar.gz") +set(linux64_binary_sha256 "e8c096779b25acf006190b79b42a09f350e6d3c33ab7d395ed86a0871a9f8e96") -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(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-macos10.10-universal.tar.gz") +set(macos10_10_binary_sha256 "9a3dff9bacb89c8237d56946045d5be3a2bb252a7d264a0245299382b74a4469") -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(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-windows-i386.zip") +set(win32_binary_sha256 "3024f7128acc989d949a95d825a763caea29dab25080c7f2eedb5679b6ed1bc3") -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(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-windows-x86_64.zip") +set(win64_binary_sha256 "1d6dd9b965dae78996fbb1d9de7603c0b532a54553c9d31492a5baec78444c86") -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") +set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-windows-arm64.zip") +set(winarm64_binary_sha256 "38e8d7cd64835deda526c2da50c01717d790660520c19e3c5283ff4fda3c7b52") diff --git a/README.rst b/README.rst index 4309b932..8f007f12 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 3.31.2 `_. +The CMake python wheels provide `CMake 3.31.4 `_. Latest Release -------------- diff --git a/docs/index.rst b/docs/index.rst index 5d16cf86..751a4bef 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 3.31.2 `_. +The CMake python wheels provide `CMake 3.31.4 `_. .. toctree:: :maxdepth: 2 diff --git a/docs/make_a_release.rst b/docs/make_a_release.rst index 3e891f60..61b5c9c4 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 3.31.2' 3.31.2 main - $ git push origin 3.31.2 + $ git tag --sign -m 'cmake-python-distributions 3.31.4' 3.31.4 main + $ git push origin 3.31.4 .. warning:: diff --git a/docs/update_cmake_version.rst b/docs/update_cmake_version.rst index e271a1a7..8c0eaf7f 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=3.31.2 + $ release=3.31.4 $ ./scripts/update_cmake_version.py $release - 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.4' [...] - 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 + Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.31.4' - done + Updating 'CMakeUrls.cmake' with CMake version 3.31.4 + Updating 'CMakeUrls.cmake' with CMake version 3.31.4 - 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=3.31.2 + release=3.31.4 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 d26a277f..c444151c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["_build_backend"] [project] name = "cmake" -version = "3.31.2" +version = "3.31.4" 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 d1535556..adfa9e85 100644 --- a/tests/test_cmake.py +++ b/tests/test_cmake.py @@ -68,7 +68,7 @@ def _get_scripts(): @all_tools def test_cmake_script(tool): - expected_version = "3.31.2" + expected_version = "3.31.4" 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") @@ -76,6 +76,6 @@ def test_cmake_script(tool): def test_cmake_main(): - expected_version = "3.31.2" + expected_version = "3.31.4" 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}"