Skip to content

Require Python 3.12 and use PEP 695 type parameters - #40

Merged
nanomad merged 1 commit into
masterfrom
bump-min-python-3.12
Oct 18, 2026
Merged

nanomad merged 1 commit into
masterfrom
bump-min-python-3.12

Conversation

@nanomad

@nanomad nanomad commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Raise the minimum Python version to 3.12 (matches saic-python-mqtt-gateway, and 3.11 was ~1% of recent PyPI downloads).

  • requires-python, mypy and pylint targets set to 3.12
  • Drop 3.11 from the CI matrix, publish job now uses 3.12
  • Replace the TypeVar in api/base.py with PEP 695 [T: IsDataclass] type parameters
  • Lock file regenerated (drops the 3.11-only dill marker)

ruff, mypy and tests pass.

@nanomad nanomad mentioned this pull request Oct 18, 2026
@nanomad
nanomad merged commit 7abbfaf into master Oct 18, 2026
8 checks passed
@nanomad
nanomad deleted the bump-min-python-3.12 branch October 18, 2026 08:05
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.

1 participant