Skip to content

feat: lower minimum Python from 3.14 to 3.12 - #31

Closed
Thomas-Z wants to merge 1 commit into
mainfrom
python312
Closed

Thomas-Z wants to merge 1 commit into
mainfrom
python312

Conversation

@Thomas-Z

Copy link
Copy Markdown
Collaborator

Three 3.14-only constructs prevented importing on 3.12/3.13:

  • unparenthesized except A, B: (PEP 758) -> parenthesized (3 sites)
  • eagerly-evaluated annotations (PEP 649) -> from __future__ import annotations in the 31 modules that need it
  • zero-arg super() in a slots=True dataclass (CPython gh-90562, fixed in 3.13) -> drop slots=True on DatasetSchema

CI matrix now 3.12/3.13/3.14; mypy pinned to python_version=3.12.

Three 3.14-only constructs prevented importing on 3.12/3.13:

- unparenthesized `except A, B:` (PEP 758) -> parenthesized (3 sites)
- eagerly-evaluated annotations (PEP 649) -> `from __future__ import annotations` in the 31 modules that need it
- zero-arg `super()` in a `slots=True` dataclass (CPython gh-90562, fixed in 3.13) -> drop `slots=True` on DatasetSchema

CI matrix now 3.12/3.13/3.14; mypy pinned to `python_version=3.12`.
@Thomas-Z
Thomas-Z requested a review from fbriol August 13, 2026 07:41
@Thomas-Z Thomas-Z closed this Nov 2, 2026
@Thomas-Z
Thomas-Z deleted the python312 branch November 2, 2026 08:18
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.

3 participants