Make Python 3.14 the MAIN_VERSION #20

Merged
alexander merged 6 commits from python-3.14 into develop 2026-12-02 22:30:08 +01:00
Owner
  • Make 3.14 the main version in the noxfile and CI
  • Add the "test-with" session that tests the non-main Python versions (3.13 and 3.15)
  • Remove flake8-pie and flake8-return; both crash on 3.14, and ruff covers their rules
  • Pin MAIN_PYTHON via ".python-version" in "init-project"

All tests pass on 3.13, 3.14, and 3.15.

- Make 3.14 the main version in the noxfile and CI - Add the "test-with" session that tests the non-main Python versions (3.13 and 3.15) - Remove `flake8-pie` and `flake8-return`; both crash on 3.14, and `ruff` covers their rules - Pin `MAIN_PYTHON` via ".python-version" in "init-project" All tests pass on 3.13, 3.14, and 3.15.
The new "test-with" session runs the test suite with non-main Python versions;
yet, `MAIN_PYTHON` stays at 3.13
It crashes on Python 3.14 (`ast.Str` is gone) and is unmaintained.

`ruff` covers its rules.
It crashes on Python 3.14 (`ast.NameConstant` is gone) and is unmaintained.

`ruff` covers its rules.
Without a configured version, `mypy` and `pyright`
check against the Python that runs them.

With `MAIN_PYTHON` at 3.14, they would accept
`stdlib` APIs and `typing` features new in 3.14.

Yet, `requires-python` promises 3.13;
so, the type checkers must flag such code.

`black` and `ruff` already target 3.13 for the same reason.
Otherwise, `uv` creates ".venv" with the newest installed Python.
Make Python 3.14 the MAIN_VERSION
All checks were successful
CI / Checks (Python 3.14) (push) Successful in 2m46s
2a64958a93
`requires-python` stays at ">=3.13"; so, `uv.lock` is unchanged
and 3.13 is tested with the "test-with" session.
Author
Owner

Needed to change the name of the branch protection rule from "CI / Checks (Python 3.13)" to "CI / Checks (Python 3.14)" before this PR could be merged.

Needed to change the name of the branch protection rule from "CI / Checks (Python 3.13)" to "CI / Checks (Python 3.14)" before this PR could be merged.
alexander merged commit 9be63c3fef into develop 2026-12-02 22:30:08 +01:00
alexander deleted branch python-3.14 2026-12-02 22:30:08 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
alexander/velofy!20
No description provided.