commit: 85e69ccec067b1b7be688d7de677638acf79510c Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Tue Jul 25 08:07:46 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Aug 2 06:31:20 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=85e69cce
Patch Meson in GitHub CI to fix pypy-3.9 detection Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> .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