Skip to content

chore: raise minimum Python to 3.10#24

Merged
ErikBjare merged 1 commit into
masterfrom
chore/bump-min-python
Jul 12, 2026
Merged

chore: raise minimum Python to 3.10#24
ErikBjare merged 1 commit into
masterfrom
chore/bump-min-python

Conversation

@ErikBjare

Copy link
Copy Markdown
Member

Addresses #21 review: the str | None annotations added to analyze_stats.main() evaluate at import and raise TypeError on 3.9 (PEP 604 needs 3.10+), yet requires-python still claimed >=3.9.

3.9 is EOL and the lowest interpreter we actually run is 3.10 (collect-stats CI matrix), so raise requires-python to >=3.10. Re-locked; ruff/mypy/pytest green.

The 'str | None' / 'datetime | None' parameter annotations added in #21
are evaluated at import time and fail on 3.9 (PEP 604 union syntax needs
3.10+). 3.9 is EOL and the lowest we actually run is 3.10 (collect-stats
CI), so bump requires-python to >=3.10 rather than adding __future__
annotations.
@ErikBjare ErikBjare merged commit 0a99578 into master Jul 12, 2026
1 check passed
@ErikBjare ErikBjare deleted the chore/bump-min-python branch July 12, 2026 17:36
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