From b9f354aab5780dcc0b043ecee519a34eb7e62a05 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 9 Jan 2025 14:39:59 -0500 Subject: [PATCH] CI: Try skipping wx on py310 The "are you installed" check is failing and printing a message. However, because the failure is on import loading shared objects, we still try to run tests against it. This is yet another example of the limitations of wheels. --- .github/workflows/tests.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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