Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/reusable-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# three lists `os`, `python-version` and `qt-backend`: GitHub then builds the 24 combinations.
# 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 16 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}
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down