File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 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 pyqt5 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.
You can’t perform that action at this time.
0 commit comments