From 0010733b840757bd7b400374b26b6a89cf631dae Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 13:44:34 +0000 Subject: [PATCH] Python 3.11 to 3.14: requires-python, docs and compatibility matrix extremes Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01RKuN81tBxMB6iaf8J6KLJL --- .github/workflows/reusable-compatibility.yml | 12 ++++++------ .github/workflows/reusable-tests.yml | 2 +- AGENTS.md | 2 +- README.rst | 2 +- pyproject.toml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/reusable-compatibility.yml b/.github/workflows/reusable-compatibility.yml index 02d8c8b..f3097de 100644 --- a/.github/workflows/reusable-compatibility.yml +++ b/.github/workflows/reusable-compatibility.yml @@ -17,18 +17,18 @@ jobs: fail-fast: false # 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, + # - the oldest (3.11) and the newest (3.14) supported Python versions, on Linux, # - 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 + # Not tested on purpose: Python 3.12 and 3.13 on Linux, Windows with pyside6, PyQt6 with Python 3.12 and 3.13 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: 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} + - {os: ubuntu-latest, python-version: '3.11', qt-backend: pyqt6} + - {os: ubuntu-latest, python-version: '3.11', qt-backend: pyside6} + - {os: ubuntu-latest, python-version: '3.14', qt-backend: pyqt6} + - {os: ubuntu-latest, python-version: '3.14', qt-backend: pyside6} - {os: windows-latest, python-version: '3.12', qt-backend: pyqt6} env: QT_DEBUG_PLUGINS: 1 diff --git a/.github/workflows/reusable-tests.yml b/.github/workflows/reusable-tests.yml index a19179e..fb387e9 100644 --- a/.github/workflows/reusable-tests.yml +++ b/.github/workflows/reusable-tests.yml @@ -1,7 +1,7 @@ # Shared by all plugins: flake8 gate and unit tests on one Python version and one Qt backend. # Deliberately a single configuration (Linux, Python 3.11, PySide6 by default): this is the fast gate that gives an # answer in about a minute. The spread over OS, Python versions and Qt backends is tested by reusable-compatibility.yml -# (a subset that skips Python 3.11, which is thus covered here). +# (a subset of extremes: the oldest and newest Python, see its matrix; 3.11 is also the oldest supported one). # Called from the small `tests.yml` of a plugin, do not copy this file into a plugin. name: Reusable tests diff --git a/AGENTS.md b/AGENTS.md index 6f033ef..e168ffb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,7 +2,7 @@ Guidance for AI coding assistants (and humans) building on **PyMoDAQ 5.3.x** from this template. PyMoDAQ is a Qt framework that drives lab experiments: hardware is added through small *plugins*, and PyMoDAQ -provides the GUI, threading, data model, scans and HDF5 saving. Python 3.10 to 3.13. +provides the GUI, threading, data model, scans and HDF5 saving. Python 3.11 to 3.14. This repository is a plugin package named `pymodaq_plugins_`. Rename everything that still says `template` before publishing. diff --git a/README.rst b/README.rst index 0ac3522..af3b819 100644 --- a/README.rst +++ b/README.rst @@ -21,7 +21,7 @@ pymodaq_plugins_template Use this template to create a repository on your account and start the development of your own PyMoDAQ plugin! -This branch targets **PyMoDAQ 5.3.x** (Python 3.10 to 3.13). Use the branch matching your PyMoDAQ version. +This branch targets **PyMoDAQ 5.3.x** (Python 3.11 to 3.14). Use the branch matching your PyMoDAQ version. Authors ======= diff --git a/pyproject.toml b/pyproject.toml index 1033006..8ea4105 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ maintainers = [ dynamic = ["version", "urls", "entry-points", "classifiers"] readme = "README.rst" license = { file="LICENSE" } -requires-python = ">=3.10" +requires-python = ">=3.11" [build-system] requires = [