fix: require Python >=3.11 (stdlib tomllib) — green CI, 0.2.1 - #10
Merged
Conversation
CI failed on 3.10 with ModuleNotFoundError: tomllib (stdlib only since 3.11). 0.2.0 advertised >=3.10 but crashed on import there. Correct requires-python, classifiers, and the test matrix (3.11-3.13). Keeps the zero-dep promise.
collincusce
pushed a commit
that referenced
this pull request
Jun 10, 2026
…for the next session Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The failure
CI went red on the Python 3.10 matrix leg only:
tomllibis stdlib since Python 3.11.config.pyandprofiles/detect.pyimport it, butpyproject.tomlclaimedrequires-python = ">=3.10"and CI tested 3.10 — so 3.10 never actually worked (it passed locally only because the dev box is 3.11). 3.11–3.13 are green.The fix
Require Python ≥ 3.11 — the honest, lean fix that keeps the zero-runtime-dependency promise (the alternative, a
tomlibackport, would add a dep just to support an EOL-approaching minor).requires-python = ">=3.11", drop the 3.10 classifier["3.11", "3.12", "3.13"]Verified
uv build→0.2.1, wheel metadata showsRequires-Python: >=3.11twine checkPASSED on both artifactsAfter merge, CI should be green. To correct the published metadata on PyPI (0.2.0 is immutable and still claims 3.10), cut a
v0.2.1GitHub Release —publish.ymlwill ship it automatically.🤖 Generated with Claude Code
https://claude.ai/code/session_01HiQppNdrQhiZ5vwMEdSCzT
Generated by Claude Code