Drop Python 3.10 support

Python 3.10 reached end of life on 2026-10-01, and the patched releases of
Pillow (13.0.0) and filelock (>=4.2.1) require Python >=3.11, so the 3.10
resolution fork kept vulnerable versions in every lockfile.

- requires-python = ">=3.11,<4" in all pyproject.toml files, the
  cookiecutter template, and the CLI codegen project template
- CI: drop the ubuntu 3.10 matrix rows, move the macOS/Windows minimum
  rows and the lint jobs to 3.11, drop 3.10 from the nox sessions
- READMEs: state 3.11 as the minimum supported version
This commit is contained in:
dlee-bq
2026-10-24 00:56:30 -07:00
parent 7df7d0c559
commit e99af5a2a0
102 changed files with 162 additions and 215 deletions

View File

@@ -13,7 +13,7 @@ CLI_DIR = ROOT_DIR / "cli"
CLI_TESTS = CLI_DIR / "tests"
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"])
@nox.session(python=["3.11", "3.12", "3.13", "3.14"])
def unit_test_platform(session):
"""Run the test suite."""
session.install("uv")
@@ -32,7 +32,7 @@ def unit_test_platform(session):
)
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"])
@nox.session(python=["3.11", "3.12", "3.13", "3.14"])
def unit_test_cli(session):
"""Run the test suite."""
session.install("uv")