This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 833bf36a0 fix(ci): failure in macOS due to the unavailable cmake
version (#3415)
833bf36a0 is described below
commit 833bf36a0571995fae7a18de4fa40e604dc27b39
Author: hulk <[email protected]>
AuthorDate: Wed Apr 1 14:00:58 2026 +0800
fix(ci): failure in macOS due to the unavailable cmake version (#3415)
Related CI logs:
https://github.com/apache/kvrocks/actions/runs/23828447043/job/69456664463?pr=3413
```
Some possibly relevant errors from pip install:
ERROR: Could not find a version that satisfies the requirement
cmake==3.31 (from versions: 0.1.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1,
0.8.0, 0.9.0, 3.6.3.post1, 3.7.2, 3.8.2, 3.9.6, 3.10.3, 3.11.0, 3.11.4,
3.11.4.post1, 3.12.0, 3.13.0, 3.13.1, 3.13.2.post1, 3.14.3.post1, 3.14.4.post1,
3.15.3.post1, 3.16.3.post1, 3.16.5, 3.16.6, 3.16.7, 3.16.8, 3.17.0, 3.17.1,
3.17.2, 3.17.3, 3.18.0, 3.18.2.post1, 3.18.4.post1, 3.20.2, 3.20.3, 3.20.4,
3.20.5, 3.21.0, 3.21.1.post1, 3.21.2, 3.2 [...]
ERROR: No matching distribution found for cmake==3.31
Error installing cmake from spec 'cmake==3.31'.
```
---
.github/workflows/kvrocks.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 6e71eb1d8..cedf5976b 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -263,7 +263,7 @@ jobs:
# Cmake 4.0 has the compatibility issue, just pin it to 3.31.
# See https://github.com/actions/runner-images/issues/11926.
run: |
- pipx install --force cmake==3.31
+ pipx install --force 'cmake>=3.31,<4'
- name: Setup Linux
if: ${{ startsWith(matrix.os, 'ubuntu') || matrix.arm_linux }}