7878 # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
7979 pyside6-ver : ' !=6.5.1'
8080 extra-requirements : ' -r requirements/testing/extra.txt'
81- - os : ubuntu-22.04
81+ - os : ubuntu-22.04-arm
8282 python-version : ' 3.12'
8383 # https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
8484 pyqt6-ver : ' !=6.6.0'
@@ -282,10 +282,13 @@ jobs:
282282 echo 'PyGObject 3 is available' || echo 'PyGObject 3 is not available'
283283 )
284284
285- python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
286- python -c 'import PyQt5.QtCore' &&
287- echo 'PyQt5 is available' ||
288- echo 'PyQt5 is not available'
285+ # PyQt5 does not have any wheels for ARM on Linux.
286+ if [[ "${{ matrix.os }}" != 'ubuntu-22.04-arm' ]]; then
287+ python -mpip install --upgrade --only-binary :all: pyqt5${{ matrix.pyqt5-ver }} &&
288+ python -c 'import PyQt5.QtCore' &&
289+ echo 'PyQt5 is available' ||
290+ echo 'PyQt5 is not available'
291+ fi
289292 # Even though PySide2 wheels can be installed on Python 3.12+, they are broken and since PySide2 is
290293 # deprecated, they are unlikely to be fixed. For the same deprecation reason, there are no wheels
291294 # on M1 macOS, so don't bother there either.
@@ -296,16 +299,16 @@ jobs:
296299 echo 'PySide2 is available' ||
297300 echo 'PySide2 is not available'
298301 fi
299- python -mpip install --upgrade pyqt6${{ matrix.pyqt6-ver }} &&
302+ python -mpip install --upgrade --only-binary :all: pyqt6${{ matrix.pyqt6-ver }} &&
300303 python -c 'import PyQt6.QtCore' &&
301304 echo 'PyQt6 is available' ||
302305 echo 'PyQt6 is not available'
303- python -mpip install --upgrade pyside6${{ matrix.pyside6-ver }} &&
306+ python -mpip install --upgrade --only-binary :all: pyside6${{ matrix.pyside6-ver }} &&
304307 python -c 'import PySide6.QtCore' &&
305308 echo 'PySide6 is available' ||
306309 echo 'PySide6 is not available'
307310
308- python -mpip install --upgrade \
311+ python -mpip install --upgrade --only-binary :all: \
309312 -f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \
310313 wxPython &&
311314 python -c 'import wx' &&
0 commit comments