ci: test the full supported Python range (3.10-3.13), not just 3.12 - #16
Merged
Conversation
pyproject declares requires-python >=3.10 with classifiers through 3.13, and homie.py carries a StrEnum polyfill specifically for <3.11, but CI ran pytest on no version at all (only ruff, on 3.12). Add a Test workflow that runs the suite across 3.10/3.11/3.12/3.13 so the declared support is actually verified. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Bill noted (in the discussion #7 area) that CI pins Python 3.12 while we mandate 3.10+ support. Confirmed, and it is a bit wider than the version pin.
pyproject.toml:requires-python = ">=3.10", classifiers through 3.13;homie.pypolyfillsStrEnumfor <3.11 (:51-54). So 3.10 support is deliberate.lint.yml,publish.yml) ran onlyruffon 3.12. There was no pytest job at all and no version matrix, so 3.10 / 3.11 / 3.13, and the test suite generally, were unverified.This adds a
Testworkflow that runspytestacross3.10, 3.11, 3.12, 3.13(fail-fast: false). The suite is 500 tests, ~1s per version locally. Action SHAs matchlint.yml.Out of scope, tracked as follow-ups:
ruffacross the matrix (ruff behavior is effectively version-independent, so lint stays single-version).🤖 Generated with Claude Code