Skip to content

Commit

Permalink
[FIX] ci: use PIP_CONSTRAINT workaround for pyyaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-wtioit committed Sep 18, 2023
1 parent af59f6e commit ddfbf3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
- run: pip install poetry
- name: Patch $PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: poetry install
# using PIP_CONSTRAINT for pyyaml, see https://github.com/yaml/pyyaml/issues/736
- run: PIP_CONSTRAINT=pip_constraint.txt poetry install
# Build images
- run: poetry run ./hooks/build
# Test
Expand Down
2 changes: 2 additions & 0 deletions pip_constraint.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# see https://github.com/yaml/pyyaml/issues/736
Cython < 3.0

0 comments on commit ddfbf3a

Please sign in to comment.