From 85e69ccec067b1b7be688d7de677638acf79510c Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Tue, 25 Jul 2023 09:07:46 +0100 Subject: Patch Meson in GitHub CI to fix pypy-3.9 detection Signed-off-by: James Le Cuirot Signed-off-by: Sam James --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 519bf92c4..bf36ad19d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,10 @@ jobs: set -xe sudo apt-get update sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libxml2-utils meson zstd + + # Patch Ubuntu's old Meson to fix pypy-3.9 detection. + curl -s -f https://github.com/mesonbuild/meson/commit/2540ad6e9e08370ddd0b6753fdc9314945a672f0.patch | sudo patch -d /usr/lib/python3/dist-packages -p1 --no-backup-if-mismatch + python -VV python -m site python -m pip install --upgrade pip -- cgit v1.2.3-65-gdbad