You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop Python 3.10 (EOL 2026-10-01) and remove the tomli dependency #658
Python 3.10 reached end-of-life on 2026-10-01. If you're open to requiring >=3.11, config.py can use the stdlib tomllib unconditionally and the project can drop its only runtime dependency (tomli) along with the import fallback.
What it touches
pyproject.toml: requires-python = ">=3.11", dependencies = [], drop the 3.10 classifier, [tool.mypy] python_version = "3.11".
commit_check/config.py: the try: import tomllib / except ImportError: import tomli block becomes a plain import tomllib.
.github/workflows/ci.yml: drop '3.10' from the install matrix (it would otherwise fail to install under >=3.11).
uv.lock: regenerated — tomli and its 3.10/3.11 backports (exceptiongroup, typing-extensions) drop out.
tests/config_test.py: the tomli-fallback tests go (that path no longer exists).
Notes
I have this implemented and green locally (1470 pass; 100% lines and branches; ruff/mypy/codespell clean) and am happy to open a PR if you'd like it. It drops 3.10 support, so that's your call — flagging it rather than sending an unsolicited PR.
(Prepared with Claude Code; I'm accountable for it.)
Activity