From 7d2263dbf156f71e4b207fbb53e10fc0f7b597f6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 20:15:22 +0000 Subject: [PATCH 1/2] CI: PyQt5 is not supported by PyMoDAQ 5.3.x, test PyQt6 on Python 3.10 instead Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL --- .github/workflows/reusable-compatibility.yml | 9 ++++----- AGENTS.md | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reusable-compatibility.yml b/.github/workflows/reusable-compatibility.yml index 48ffb45..b57ccb6 100644 --- a/.github/workflows/reusable-compatibility.yml +++ b/.github/workflows/reusable-compatibility.yml @@ -15,18 +15,17 @@ jobs: timeout-minutes: 30 strategy: fail-fast: false - # This matrix is a deliberate subset, not every combination of OS x Python x Qt backend (2 x 4 x 3 = 24 jobs). + # This matrix is a deliberate subset, not every combination of OS x Python x Qt backend (2 x 4 x 2 = 16 jobs). # It follows the usual practice of testing the extremes instead of the full cross product: # - the oldest (3.10) and the newest (3.13) supported Python versions, on Linux, - # - each Qt backend at least once (pyqt5, pyqt6, pyside6), PySide6 on both Python extremes, + # - each Qt backend at least once (pyqt6, pyside6), PySide6 on both Python extremes, # - Windows once, with an intermediate Python version (3.12). - # Not tested on purpose: Python 3.11 and 3.12 on Linux, Windows with pyqt5 or pyside6, PyQt5 with Python 3.13, - # PyQt6 with Python 3.10. The plugin tests are fast, so if a plugin needs more coverage, replace `include` by the + # Not tested on purpose: Python 3.11 and 3.12 on Linux, Windows with pyside6, PyQt6 with Python 3.11 and 3.12 on Linux. The plugin tests are fast, so if a plugin needs more coverage, replace `include` by the # three lists `os`, `python-version` and `qt-backend`: GitHub then builds the 24 combinations. # When a Python version is added or dropped (follow pymodaq), update the extremes here. matrix: include: - - {os: ubuntu-latest, python-version: '3.10', qt-backend: pyqt5} + - {os: ubuntu-latest, python-version: '3.10', qt-backend: pyqt6} - {os: ubuntu-latest, python-version: '3.10', qt-backend: pyside6} - {os: ubuntu-latest, python-version: '3.13', qt-backend: pyqt6} - {os: ubuntu-latest, python-version: '3.13', qt-backend: pyside6} diff --git a/AGENTS.md b/AGENTS.md index 8438975..6f033ef 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,7 +40,7 @@ them, work in a clone of the PyMoDAQ repository and install the five packages in ```bash python install-packages.py -d # editable + dev extras, from the PyMoDAQ repository root -python install-packages.py -d -qt pyside6 # choose the Qt backend (pyqt5, pyqt6 or pyside6) +python install-packages.py -d -qt pyside6 # choose the Qt backend (pyqt6 or pyside6) ``` Do not consider a task finished until `check_plugin` and `pytest` pass. Do not invent PyMoDAQ APIs: if a method From d93742257aad12892bbcee67579f1bbb9e1161eb Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 20:15:37 +0000 Subject: [PATCH 2/2] Matrix comment: 16 combinations Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL --- .github/workflows/reusable-compatibility.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-compatibility.yml b/.github/workflows/reusable-compatibility.yml index b57ccb6..02d8c8b 100644 --- a/.github/workflows/reusable-compatibility.yml +++ b/.github/workflows/reusable-compatibility.yml @@ -21,7 +21,7 @@ jobs: # - each Qt backend at least once (pyqt6, pyside6), PySide6 on both Python extremes, # - Windows once, with an intermediate Python version (3.12). # Not tested on purpose: Python 3.11 and 3.12 on Linux, Windows with pyside6, PyQt6 with Python 3.11 and 3.12 on Linux. The plugin tests are fast, so if a plugin needs more coverage, replace `include` by the - # three lists `os`, `python-version` and `qt-backend`: GitHub then builds the 24 combinations. + # three lists `os`, `python-version` and `qt-backend`: GitHub then builds the 16 combinations. # When a Python version is added or dropped (follow pymodaq), update the extremes here. matrix: include: