From 5d545a80082d82ec19675d5977ab0b155e7501d5 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 29 Sep 2026 15:25:29 +0200 Subject: [PATCH 1/3] Add Python 3.14 and 3.15 to CI Python 3.15 is still a pre-release, so allow pre-releases in setup-python. Only 3.14 is declared as officially supported. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yml | 3 ++- CHANGELOG.rst | 6 ++++++ pyproject.toml | 1 + tox.ini | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 570d15c9..33279e9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15"] qt-lib: [pyqt5, pyqt6, pyside6] os: [ubuntu-latest, windows-latest, macos-latest] include: @@ -47,6 +47,7 @@ jobs: uses: actions/setup-python@v7.0.0 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Download Package uses: actions/download-artifact@v8 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7bca4f29..b9cd0f63 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,9 @@ +UNRELEASED +---------- + +- Added official support for Python 3.14. +- Python 3.15 is now tested in CI. + 4.5.0 (2025-07-01) ------------------ diff --git a/pyproject.toml b/pyproject.toml index d151311d..e0bef18a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Desktop Environment :: Window Managers", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", diff --git a/tox.ini b/tox.ini index 7a2e6a7e..428b0da3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{39,310,311,312,313}-{pyqt5,pyside6,pyqt6},py39-pyside60,py39-pyqt61 +envlist = py{39,310,311,312,313,314,315}-{pyqt5,pyside6,pyqt6},py39-pyside60,py39-pyqt61 [testenv] deps= From 8377b424671874df35b9c26cec168d8acbd0fd08 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 29 Sep 2026 15:40:13 +0200 Subject: [PATCH 2/3] Skip PySide6 on Python 3.15 in CI No PySide6 release supports Python 3.15 yet, so pip cannot install it. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33279e9a..2f5427e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,11 @@ jobs: - python-version: "3.9" qt-lib: pyside60 os: ubuntu-latest + exclude: + # No PySide6 release supports Python 3.15 yet (all declare + # Requires-Python <3.15), so it cannot be installed. + - python-version: "3.15" + qt-lib: pyside6 steps: - uses: actions/checkout@v7 From 5d555fa0217a6e7fe46252c61a21fa168a619cb9 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 29 Sep 2026 15:44:19 +0200 Subject: [PATCH 3/3] Skip PySide6 on Python 3.15 in tox Co-Authored-By: Claude Opus 5.5 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 428b0da3..4d7bbdd8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = py{39,310,311,312,313,314,315}-{pyqt5,pyside6,pyqt6},py39-pyside60,py39-pyqt61 +# No PySide6 release supports Python 3.15 yet, so py315 skips it. +envlist = py{39,310,311,312,313,314}-{pyqt5,pyside6,pyqt6},py315-{pyqt5,pyqt6},py39-pyside60,py39-pyqt61 [testenv] deps=