diff options
author | James Le Cuirot <chewi@gentoo.org> | 2023-07-25 09:07:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-02 07:31:20 +0100 |
commit | 85e69ccec067b1b7be688d7de677638acf79510c (patch) | |
tree | db323c975a2661eba9d30eb3650d98b545851a89 | |
parent | Migrate from setuptools to Meson and meson-python (diff) | |
download | portage-85e69ccec067b1b7be688d7de677638acf79510c.tar.gz portage-85e69ccec067b1b7be688d7de677638acf79510c.tar.bz2 portage-85e69ccec067b1b7be688d7de677638acf79510c.zip |
Patch Meson in GitHub CI to fix pypy-3.9 detection
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |