@@ -171,37 +171,38 @@ jobs:
171
171
# (sometimes, the install appears to be successful but shared
172
172
# libraries cannot be loaded at runtime, so an actual import is a
173
173
# better check).
174
- if [[ "${{ runner.os }}" != 'macOS' ]]; then
175
- # PyGObject, pycairo, and cariocffi do not install on OSX 10.12.
176
- python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
177
- python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
178
- echo 'PyGObject is available' ||
179
- echo 'PyGObject is not available'
174
+ # PyGObject, pycairo, and cariocffi do not install on OSX 10.12.
175
+ python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
176
+ python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
177
+ echo 'PyGObject is available' ||
178
+ echo 'PyGObject is not available'
180
179
181
- # There are no functioning wheels available for OSX 10.12 (as of
182
- # Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
183
- # pyside2 (the latest version (5.13.2) with 10.12 wheels has a
184
- # fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
185
- python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
186
- python -c 'import PyQt5.QtCore' &&
187
- echo 'PyQt5 is available' ||
188
- echo 'PyQt5 is not available'
180
+ # There are no functioning wheels available for OSX 10.12 (as of
181
+ # Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
182
+ # pyside2 (the latest version (5.13.2) with 10.12 wheels has a
183
+ # fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
184
+ python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
185
+ python -c 'import PyQt5.QtCore' &&
186
+ echo 'PyQt5 is available' ||
187
+ echo 'PyQt5 is not available'
188
+ if [[ "${{ runner.os }}" != 'macOS' ]]; then
189
189
python -mpip install --upgrade pyside2 &&
190
190
python -c 'import PySide2.QtCore' &&
191
191
echo 'PySide2 is available' ||
192
192
echo 'PySide2 is not available'
193
- # Qt6 crashes on Github's ubuntu 18.04 runner.
194
- if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
195
- python -mpip install --upgrade pyqt6 &&
196
- python -c 'import PyQt6.QtCore' &&
197
- echo 'PyQt6 is available' ||
198
- echo 'PyQt6 is not available'
199
- python -mpip install --upgrade pyside6 &&
200
- python -c 'import PySide6.QtCore' &&
201
- echo 'PySide6 is available' ||
202
- echo 'PySide6 is not available'
203
- fi
204
193
fi
194
+ # Qt6 crashes on Github's ubuntu 18.04 runner.
195
+ if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
196
+ python -mpip install --upgrade pyqt6 &&
197
+ python -c 'import PyQt6.QtCore' &&
198
+ echo 'PyQt6 is available' ||
199
+ echo 'PyQt6 is not available'
200
+ python -mpip install --upgrade pyside6 &&
201
+ python -c 'import PySide6.QtCore' &&
202
+ echo 'PySide6 is available' ||
203
+ echo 'PySide6 is not available'
204
+ fi
205
+
205
206
python -mpip install --upgrade \
206
207
-f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \
207
208
wxPython &&
0 commit comments