Skip to content

Test on the five current stable Python versions - #48

Merged
aflanagan merged 1 commit into
masterfrom
agent/python-ci-matrix-17b2
Nov 4, 2026
Merged

aflanagan merged 1 commit into
masterfrom
agent/python-ci-matrix-17b2

Conversation

@aflanagan

Copy link
Copy Markdown
Collaborator

Summary

The test workflow now runs on the five current stable CPython lines: 3.11, 3.12, 3.13, 3.14, and 3.15. EOL 3.8, 3.9, and 3.10 are no longer in the matrix. actions/checkout and actions/setup-python move to v7.

No library, test, or dependency pin changes. Local pytest with the existing requirements.txt was 28 passed, 7 skipped on 3.11.18, 3.14.10, and 3.15.2.

Python versions confirmed

Checked on 2026-11-04 against python.org/downloads and the Python Developer's Guide status table (PEP release schedules). python.org is the source used for the matrix.

Active releases on python.org:

Version Status First released End of support Latest patch listed
3.15 bugfix 2026-10-09 2031-10 (PEP 790) 3.15.2 on Oct. 25, 2026
3.14 bugfix 2025-10-07 2030-10 (PEP 745) 3.14.10 on Oct. 25, 2026
3.13 security 2024-10-07 2029-10 (PEP 719) 3.13.18
3.12 security 2023-10-02 2028-10 (PEP 693) 3.12.16
3.11 security 2022-10-24 2027-10 (PEP 664) 3.11.18
3.10 end-of-life 2021-10-04 2026-10-01 (PEP 619) 3.10.22, last release

3.16 is a pre-release (planned first release 2027-10-06) and is not in the matrix. The devguide table matches: supported branches are 3.11 through 3.15, and 3.10 is unsupported as of 2026-10-01.

endoflife.date was cited as listing 3.15.2 released 2026-10-09. python.org dates 3.15.0 to Oct. 9, 2026 and 3.15.2 to Oct. 25, 2026. The stable minor line is the same, so the matrix is 3.11, 3.12, 3.13, 3.14, 3.15.

Actions

actions/checkout v4 → v7 and actions/setup-python v5 → v7 (current majors: checkout v7.0.1, 2026-07-20; setup-python v7.1.0, 2026-10-22).

Both v7 releases run on Node 24. Node 20 left GitHub-hosted runners on 2026-09-23. Python 3.15.2 in the actions/python-versions manifest is stable: true and is published only as Ubuntu 22.04, 24.04, and 26.04 builds. setup-python@v7 selects the build that matches the runner, which is what 3.15 needs on ubuntu-latest (24.04 or 26.04 during the current migration).

This workflow uses pull_request, not pull_request_target, so checkout v7's fork-checkout refusal does not apply.

For August to decide

setup.py has no python_requires and no trove classifiers. There is no pyproject.toml. Package metadata does not currently advertise 3.8, or any Python version. CI no longer tests 3.8, 3.9, or 3.10, but pip will still install this package on those interpreters.

Current values:

  • python_requires: absent
  • classifiers: absent

Left unchanged on purpose. If metadata should match the new matrix, I would add python_requires='>=3.11' and classifiers for Programming Language :: Python :: 3.11 through 3.15.

Open in Web Open in Cursor 

Drop EOL 3.8–3.10 and add 3.14 and 3.15. Move checkout and setup-python to v7 so the workflow uses the Node 24 actions that can install the Ubuntu-specific 3.15 builds.

Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
@aflanagan
aflanagan merged commit 492cf96 into master Nov 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants