Repository navigation
Test on the five current stable Python versions - #48
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/checkoutandactions/setup-pythonmove to v7.No library, test, or dependency pin changes. Local pytest with the existing
requirements.txtwas 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:
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/checkoutv4 → v7 andactions/setup-pythonv5 → 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: trueand is published only as Ubuntu 22.04, 24.04, and 26.04 builds.setup-python@v7selects the build that matches the runner, which is what 3.15 needs onubuntu-latest(24.04 or 26.04 during the current migration).This workflow uses
pull_request, notpull_request_target, so checkout v7's fork-checkout refusal does not apply.For August to decide
setup.pyhas nopython_requiresand no trove classifiers. There is nopyproject.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: absentclassifiers: absentLeft unchanged on purpose. If metadata should match the new matrix, I would add
python_requires='>=3.11'and classifiers forProgramming Language :: Python :: 3.11through3.15.