From d0ab4681ae5db8c971f1e1f3b4b27bc9834a3e32 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 13 Mar 2025 15:14:15 -0400 Subject: [PATCH] Backport PR #29748: Fix PyGObject version pinning in macOS tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e856eef76c6e..376aaa3e293d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -274,7 +274,7 @@ jobs: # (sometimes, the install appears to be successful but shared # libraries cannot be loaded at runtime, so an actual import is a # better check). - python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject${{ matrix.pygobject-ver }} && + python -m pip install --upgrade pycairo 'cairocffi>=0.8' 'PyGObject${{ matrix.pygobject-ver }}' && ( python -c 'import gi; gi.require_version("Gtk", "4.0"); from gi.repository import Gtk' && echo 'PyGObject 4 is available' || echo 'PyGObject 4 is not available'