From 07ce31ce9de123859ef7d4086e1df2d7ca6704bc Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Mon, 20 Oct 2025 17:55:15 +0300 Subject: [PATCH 1/2] Try installing libjpeg-dev to fix pypy3.10 builds Currently they fail with The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. but only for pypy310 -- Python 3.8 works fine (the rest of the Pythons were skipped due to fail-early defaults). --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0abded..589bef7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,6 +46,11 @@ jobs: ${{ runner.os }}-pip-${{ matrix.python-version }}- ${{ runner.os }}-pip- + - name: Install OS-level dependencies (Linux) + if: runner.os == 'Linux' && matrix.python-version == "pypy3.10" + run: | + sudo apt-get install -y libjpeg-dev + - name: Install dependencies run: | python -m pip install -U pip From b43b44251d8a100c67116606ae2ccf32a6f4b81a Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Mon, 20 Oct 2025 18:00:45 +0300 Subject: [PATCH 2/2] I hate GitHub Actions --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 589bef7..eda2790 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: ${{ runner.os }}-pip- - name: Install OS-level dependencies (Linux) - if: runner.os == 'Linux' && matrix.python-version == "pypy3.10" + if: runner.os == 'Linux' && matrix.python-version == 'pypy3.10' run: | sudo apt-get install -y libjpeg-dev