From da2063b883dbae23564d548a829f299644aa6c81 Mon Sep 17 00:00:00 2001 From: James Addison Date: Tue, 1 Apr 2025 11:38:24 +0100 Subject: [PATCH] ci: restrict `pygobject-ver` for Ubuntu 22.04 jobs Currently we continue to install `girepository-1.0` during these workflow jobs; `PyGObject` v3.52 needs `girepository-2.0` instead. --- .github/workflows/tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 911fa69ec38b..46bc4fb918b0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,17 +52,27 @@ jobs: python-version: '3.11' extra-requirements: '-c requirements/testing/minver.txt' delete-font-cache: true + # https://github.com/matplotlib/matplotlib/issues/29844 + pygobject-ver: '<3.52.0' - os: ubuntu-22.04 python-version: '3.11' CFLAGS: "-fno-lto" # Ensure that disabling LTO works. extra-requirements: '-r requirements/testing/extra.txt' + # https://github.com/matplotlib/matplotlib/issues/29844 + pygobject-ver: '<3.52.0' - os: ubuntu-22.04-arm python-version: '3.12' + # https://github.com/matplotlib/matplotlib/issues/29844 + pygobject-ver: '<3.52.0' - os: ubuntu-22.04 python-version: '3.13' + # https://github.com/matplotlib/matplotlib/issues/29844 + pygobject-ver: '<3.52.0' - name-suffix: "Free-threaded" os: ubuntu-22.04 python-version: '3.13t' + # https://github.com/matplotlib/matplotlib/issues/29844 + pygobject-ver: '<3.52.0' - os: ubuntu-24.04 python-version: '3.12' - os: macos-13 # This runner is on Intel chips.