From 6c9b058d81639deaef998f61937e24a4a71d4700 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 18 Sep 2023 13:25:03 +0100 Subject: [PATCH] [CI/CD] Fix Pillow packaging build errors Pillow have dropped 32-bit wheels from v10 onwards so force install of older v9 wheels since we don't want to build from src. Refs: https://github.com/python-pillow/Pillow/issues/6941#issuecomment-1604058002 --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ce0d032c1..80335bb42 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -62,8 +62,11 @@ jobs: python -m pip install --no-index --find-links="C:\GTK\release\python" pycairo PyGObject - name: Install Python dependencies + # Pillow no longer provides 32-bit wheels for Windows + # so specify only-binary to install old version. run: > python -m pip install + --only-binary=pillow twisted[tls]==22.4.0 libtorrent==${{ matrix.libtorrent }} pyinstaller==4.10