Skip to content

feat: expand Python version coverage to 3.10 through 3.14#9

Merged
shjellvik merged 1 commit into
mainfrom
expand-python-version-support
Jun 24, 2026
Merged

feat: expand Python version coverage to 3.10 through 3.14#9
shjellvik merged 1 commit into
mainfrom
expand-python-version-support

Conversation

@shjellvik

Copy link
Copy Markdown
Collaborator

Summary

requires-python was already >=3.10, but the 3.14 trove classifier was missing and CI only exercised a single interpreter (3.14). This PR closes the gap so the declared and tested support range is 3.10 through 3.14.

Why this is safe

  • The codegen target (tools/generate.py --target-python-version 3.10) and ruff (target-version = py310) keep 3.10 as the firm floor.
  • No 3.11+/3.13+-only syntax or stdlib usage; pydantic>=2.9 and the dev tools all support 3.10+.

Verification

Ran codegen (datamodel-code-generator) + the full test suite locally on 3.10, 3.11, 3.12, 3.13, 3.142196 passed, 9 skipped on every version.

Changes

  • Add Programming Language :: Python :: 3.14 classifier
  • Run build-and-test workflow as a matrix across 3.10–3.14 (fail-fast: false)

requires-python was already >=3.10, but the 3.14 trove classifier was
missing and CI only exercised a single interpreter (3.14). Verified the
full suite (codegen via datamodel-code-generator + 2196 tests) passes on
3.10, 3.11, 3.12, 3.13 and 3.14.

- Add Programming Language :: Python :: 3.14 classifier
- Run the build-and-test workflow as a matrix across 3.10–3.14

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@shjellvik shjellvik requested a review from a team as a code owner June 24, 2026 11:51
@shjellvik shjellvik changed the title Expand Python version coverage to 3.10–3.14 feat: expand Python version coverage to 3.10 through 3.14 Jun 24, 2026
@shjellvik shjellvik merged commit e2d331e into main Jun 24, 2026
11 of 12 checks passed
@shjellvik shjellvik deleted the expand-python-version-support branch June 24, 2026 12:01
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