diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 47d6e8413d8f..9165173c887e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -304,14 +304,14 @@ jobs: python -c 'import PySide6.QtCore' && echo 'PySide6 is available' || echo 'PySide6 is not available' - - python -mpip install --upgrade \ - -f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \ - wxPython && - python -c 'import wx' && - echo 'wxPython is available' || - echo 'wxPython is not available' - + if [[ "${{ matrix.python-version }}" != '3.10' ]]; then + python -mpip install --upgrade \ + -f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \ + wxPython && + python -c 'import wx' && + echo 'wxPython is available' || + echo 'wxPython is not available' + fi fi # Skip backends on Python 3.13t. - name: Install the nightly dependencies