From d4220ddbf6a0cefc8a221fca835d615bcc406bd2 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 20:09:05 +0000 Subject: [PATCH] Shared workflows: exclude PySide6 6.12.0 (aborts after tests that open the Dashboard) Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg --- .github/workflows/reusable-compatibility.yml | 3 ++- .github/workflows/reusable-tests.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-compatibility.yml b/.github/workflows/reusable-compatibility.yml index 4b3cb86..011e6ef 100644 --- a/.github/workflows/reusable-compatibility.yml +++ b/.github/workflows/reusable-compatibility.yml @@ -48,9 +48,10 @@ jobs: sudo mkdir -p /etc/.pymodaq sudo chmod uo+rw /etc/.pymodaq - name: Install the plugin with the latest PyMoDAQ release + # PySide6 6.12.0 aborts (garbage collector) after the tests that open PyMoDAQ's Dashboard, see PyMoDAQ issue #1275 run: | python -m pip install --upgrade pip - pip install pytest pytest-qt pytest-xvfb ${{ matrix.qt-backend }} + pip install pytest pytest-qt pytest-xvfb ${{ matrix.qt-backend == 'pyside6' && 'pyside6!=6.12.0' || matrix.qt-backend }} pip install -e . - name: Tests run: pytest -vv tests diff --git a/.github/workflows/reusable-tests.yml b/.github/workflows/reusable-tests.yml index b6b0662..66b42b7 100644 --- a/.github/workflows/reusable-tests.yml +++ b/.github/workflows/reusable-tests.yml @@ -38,9 +38,10 @@ jobs: sudo mkdir -p /etc/.pymodaq sudo chmod uo+rw /etc/.pymodaq - name: Install the plugin + # PySide6 6.12.0 aborts (garbage collector) after the tests that open PyMoDAQ's Dashboard, see PyMoDAQ issue #1275 run: | python -m pip install --upgrade pip - pip install flake8 pytest pytest-qt pytest-xvfb ${{ inputs.qt-backend }} + pip install flake8 pytest pytest-qt pytest-xvfb ${{ inputs.qt-backend == 'pyside6' && 'pyside6!=6.12.0' || inputs.qt-backend }} pip install -e . - name: Lint (syntax errors and undefined names only) run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics