Skip to content
Snippets Groups Projects
Commit 15119e93 authored by nimrod's avatar nimrod
Browse files

pre-commit template: Lock Cython to <3.

parent d442b830
No related branches found
No related tags found
No related merge requests found
Pipeline #3522 failed
......@@ -22,7 +22,10 @@ pre-commit:
# yamllint disable-line rule:line-length
TF_HTTP_UNLOCK_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/default/lock
TF_HTTP_UNLOCK_METHOD: DELETE
# Needed for locking Cython to <3 for PyYAML<6 to install properly.
PIP_CONSTRAINT: /tmp/constraint.txt
script:
- echo 'Cython < 3.0' > "$PIP_CONSTRAINT"
- pre-commit run --all-files
cache:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment