Repository navigation
Repo checker: from wheelgap 0.16.0, the gate workflow takes the Python from .python-version - #302
Merged
Merged
Conversation
…n from .python-version wheelgap#870 makes compare-to without -p check each side on its own .python-version, so a pull request that only bumps it is caught. The offered workflow leaves -p out when the root .python-version picked the Python, the lockfile is at the root and the selection is just that Python; otherwise it keeps -p. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ected Python Review fixes: the driver now reports wheelgap's own reading of .python-version (python_version; a test compares it with wheelgap.cli.read_python_version), since the page's default reading takes 3.13.0rc1, cpython-3.13 or a first line wheelgap ignores, and drops the t of 3.14.0t. And check reports config_python: [tool.wheelgap] python beside the lockfile is read before .python-version, so -p stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 1, 2026
Merged
patrickballard
added a commit
that referenced
this pull request
Dec 2, 2026
The checker's workflow now leaves -p out when the project's .python-version names the Python it checked (#302), so its gate catches a move to another Python. Co-authored-by: Claude Opus 5.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.
wheelgap/wheelgap#870 (merged in wheelgap/wheelgap#903, to be released in 0.16.0) makes the
compare-togate without-pcheck each side on its own.python-version, so a pull request that only bumps the Python is caught. With-pinargs, as the checker offers today, it isn't.The offered workflow now leaves
-pout, with a comment saying the Python comes from.python-version, only when all of these hold:.python-versionbeside it;pyproject.tomlsets no[tool.wheelgap] python(config_python), which wheelgap reads first;.python-version(python_versionfrom the driver) is exactly the one Python selected.The driver's reader matches
wheelgap.cli.read_python_version, and a test compares the two on 13 sample files. The page's default Python is unchanged. Otherwise the workflow keeps-p, which the gate then needs, because 0.16.0 stops when neither side names a Python.Tests: all 273 site tests, and
tests/test_check_driver.pyplustests/test_check_parity.pywith wheelgap 0.15.0 as CI runs them (273 passed).