Repository navigation
feat(explain): show published unofficial gap wheels per target - #477
Merged
patrickballard merged 21 commits intoNov 17, 2026
Merged
Conversation
- The gap wheel line under --explain gives the pip command only for inputs pip installs from as they are; for lockfiles it points to the --fix section. It's shown once per release, naming the targets it fills, and says the wheel is built by wheelgap from the PyPI sdist, not by the package's maintainers. - --json gap_wheel entries: install only for pip kinds, no constant index. - cache.load_gap_wheels/save_gap_wheels take the list URL (pypi.GAP_WHEELS_URL) instead of hardcoding it. - Docs folded into the --fix and --explain entries; README paragraph dropped; output.md, how-it-works.md cache list and CHANGELOG updated. - Tests: uv.lock hint isn't a pip command, one hint per release, a corrupt cached list is fetched again, --no-cache saves nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… parses, AGENTS.md cache line Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
|
Thanks @AdityaSreevatsaK, this looks good overall: it reuses the existing gap-wheel matching, keeps PyPI results and exit codes untouched when the list can't be read, and the docs and schema are updated alongside the code. Because #455 is labelled (Review assisted by Claude.) |
Collaborator
|
Merged, thanks @AdityaSreevatsaK! Before merging I pushed a few commits:
Since you know this code now, #467 (making the gap wheel fix stick in the project, design first) is open with nobody on it. (Reply assisted by Claude.) |
This was referenced Nov 20, 2026
Merged
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.
Closes #455
What this changes
--fixfunctionality so that--explain --fixshows an unofficial published gap-wheel hint beside the matching package and target.gap_wheelmapping to--json --explain --fix, including installation instructions.--no-cachebypass.Checklist
fake_pypior a fixture)uv run --group dev ruff format .anduv run --group dev ruff check .passuv run --group dev mypyanduv run --group dev pytestpassCHANGELOG.mdhas a line under## Unreleased(if users would notice the change)CI: [All nine jobs passed]