File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ jobs:
144
144
macOS)
145
145
brew install ccache
146
146
brew tap homebrew/cask-fonts
147
- brew install font-noto-sans-cjk
147
+ brew install font-noto-sans-cjk gobject-introspection gtk4
148
148
;;
149
149
esac
150
150
@@ -219,10 +219,14 @@ jobs:
219
219
# libraries cannot be loaded at runtime, so an actual import is a
220
220
# better check).
221
221
# PyGObject, pycairo, and cariocffi do not install on OSX 10.12.
222
- python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
223
- python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
224
- echo 'PyGObject is available' ||
225
- echo 'PyGObject is not available'
222
+ python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
223
+ (
224
+ python -c 'import gi; gi.require_version("Gtk", "4.0"); from gi.repository import Gtk' &&
225
+ echo 'PyGObject 4 is available' || echo 'PyGObject 4 is not available'
226
+ ) && (
227
+ python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
228
+ echo 'PyGObject 3 is available' || echo 'PyGObject 3 is not available'
229
+ )
226
230
227
231
# There are no functioning wheels available for OSX 10.12 (as of
228
232
# Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
You can’t perform that action at this time.
0 commit comments