Repository navigation
Closed
Labels
breaking-changeChange potentially breaks upgrades
Description
Summary
Part of lfreleng-actions/.github#362. Python 3.10 reached end of life in October 2026, and the organisation minimum is now Python 3.11.
This action tests a project on the Python the caller requests through python_version, and still carries support for 3.8 to 3.10.
| File | Line | Detail |
|---|---|---|
action.yaml |
861 to 877 | Installs tox<4.0.0 when python_version is 3.8 |
action.yaml |
1049 to 1060, 1076, 1114 | Installs tomli into the test environment for Python below 3.11 |
scripts/coverage_config.py |
10 to 41 | tomli fallback |
scripts/detect_coverage.py |
26 to 42 | tomli fallback, and its exit status 2 |
.github/workflows/testing.yaml |
309, 526, 561 | The python-nss-ng regression matrix includes "3.10" |
pyproject.toml |
12 to 15 | pythonVersion = "3.10", to keep the tomli fallback type-checked |
.pre-commit-config.yaml |
128 | tomli in the type checker's additional_dependencies |
README.md |
176, 185 | Examples with python_version: "3.10" |
.fixtures/*/pyproject.toml |
Five fixtures declare requires-python = ">=3.10" |
Line numbers are from main at the time of writing; #257 has since changed .github/workflows/testing.yaml, so locate those by content.
Fix
- Refuse a
python_versionbelow 3.11 early, with a clear error that names the input and the minimum, before anything is installed.tox-run-actionrefuses an old Python the same way: see itsunsupported-pythonpath. Add a negative test for the refusal. - Remove the
tox<4.0.0branch, and always install currenttoxwithtox-uv. - Remove the
tomliinstall and thetomlifallbacks, and importtomllibdirectly. - Drop
"3.10"from the regression matrix. - Raise
pythonVersionto"3.11", and droptomlifrom the hook'sadditional_dependencies. - Update the README examples, and raise the fixtures to
>=3.11.
Acceptance
- Every test job passes; the new negative test proves that 3.10 is refused before anything is installed.
- No reference to Python 3.8, 3.9 or 3.10 as supported, nor to
tomli, remains. - Pin any new action by commit SHA with a
# vX.Y.Zcomment. - The repository's hooks pass.
- The pull request description notes the behaviour change for callers that pass a
python_versionbelow 3.11.
Workflow edits are allowed for this issue.
Metadata
Metadata
Assignees
Labels
breaking-changeChange potentially breaks upgrades
Activity
lf-releng-code-monkey-bot commentedon Nov 15, 2026
🐒 An AI agent has proposed a change for this issue: pull request #258 (head 1dac21b). The Copilot review of it is clean. An antagonistic review was requested from the review bot.