Skip to content

Commit c7c2bc1

Browse files
ci: Pin cmake-format to Python 3.12
3.14 changed behavior of re.Scanner() capture groups, breaking cmake-format. Change was also backported to 3.13. python/cpython#140944
1 parent 9f4abcc commit c7c2bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/tests/gitlab-ci-code-linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ spell-check:
107107
# Check cmake format
108108
cmake-format:
109109
extends: .code-linting-base
110-
image: python:latest
110+
image: python:3.12
111111
before_script:
112112
- pip install pyyaml cmake cmake-format ninja
113113
script:

0 commit comments

Comments
 (0)