8000 Backport PR #29734: ci: MacOS 14: temporarily upper-bound the 'PyGObj… · matplotlib/matplotlib@e5b4d9b · GitHub
[go: up one dir, main page]

Skip to content

Commit e5b4d9b

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #29734: ci: MacOS 14: temporarily upper-bound the 'PyGObject' Python package version
1 parent 61a6abe commit e5b4d9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,14 @@ jobs:
103103
pyside6-ver: '!=6.5.1'
104104
- os: macos-14 # This runner is on M1 (arm64) chips.
105105
python-version: '3.12'
106+
# https://github.com/matplotlib/matplotlib/issues/29732
107+
pygobject-ver: '<3.52.0'
106108
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
107109
pyside6-ver: '!=6.5.1'
108110
- os: macos-14 # This runner is on M1 (arm64) chips.
109111
python-version: '3.13'
112+
# https://github.com/matplotlib/matplotlib/issues/29732
113+
pygobject-ver: '<3.52.0'
110114
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
111115
pyside6-ver: '!=6.5.1'
112116

@@ -270,7 +274,7 @@ jobs:
270274
# (sometimes, the install appears to be successful but shared
271275
# libraries cannot be loaded at runtime, so an actual import is a
272276
# better check).
273-
python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
277+
python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject${{ matrix.pygobject-ver }} &&
274278
(
275279
python -c 'import gi; gi.require_version("Gtk", "4.0"); from gi.repository import Gtk' &&
276280
echo 'PyGObject 4 is available' || echo 'PyGObject 4 is not available'

0 commit comments

Comments
 (0)
0