Skip to content

Drop Python 3.10 (EOL 2026-10-01) and remove the tomli dependency #658

Closed

Description

@invictustitan2

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

  1. added
    good first issue
    help wanted
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions