From ddfbf3adbc1e5855e1603eeb1ee71d2e57f5b3b1 Mon Sep 17 00:00:00 2001 From: Andreas Perhab Date: Mon, 18 Sep 2023 10:09:59 +0200 Subject: [PATCH] [FIX] ci: use PIP_CONSTRAINT workaround for pyyaml --- .github/workflows/ci.yaml | 3 ++- pip_constraint.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 pip_constraint.txt diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0f3e22c..010a4b55 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/pip_constraint.txt b/pip_constraint.txt new file mode 100644 index 00000000..8d5d83b6 --- /dev/null +++ b/pip_constraint.txt @@ -0,0 +1,2 @@ +# see https://github.com/yaml/pyyaml/issues/736 +Cython < 3.0