From b0218af146e3b6e80a0e4b3b4287aa7309aec2e1 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 1 Apr 2024 14:17:31 +0100 Subject: [PATCH] Fix pyright CI job (#11689) Co-authored-by: Sebastian Rittau --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 096b38675..ff01ff25e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -123,7 +123,9 @@ jobs: if [ -n "$DEPENDENCIES" ]; then source .venv/bin/activate echo "Installing packages: $DEPENDENCIES" - uv pip install $DEPENDENCIES + # https://github.com/python/typeshed/issues/11688 + echo "Pillow<10.3" > constraints.txt + uv pip install -c constraints.txt $DEPENDENCIES fi - name: Activate the isolated venv for the rest of the job run: echo "$PWD/.venv/bin" >> $GITHUB_PATH