Repository navigation
fix: resolve version ranges for each target Python - #275
Conversation
|
Thanks for finishing this off, @Swarneil1905. The overall shape looks good: one index response per package, a resolution per Python major/minor, identical answers sharing a row, and offline tests covering both the JSON API and simple indexes. This one changes
(Review assisted by Claude.) |
|
Thanks for adding the changelog line, @Swarneil1905. I've seen the new commit: the bullet is in the right place and format, and CI is green on it. Nothing else changes from the note above: because this touches (Review assisted by Claude.) |
Drop wheelgap#84 from the README roadmap, stop saying ranges ignore Requires-Python with several -p versions, and say that a range resolving to different releases gets one row (and one JSON entry) per release, counted per row in the summary. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merged, thanks @Swarneil1905! This closes #84, which has been on the roadmap since the start. Sharing one index response and keeping identical answers on a single row kept it tidy. I pushed one docs commit before merging. It drops #84 from the README roadmap, stops If you'd like another, #262 (don't send a name to an outside service when another input in the same run puts it on a private index) is open and builds on the provenance maps you just extended. (Review assisted by Claude.) |
Closes #84
What this changes
Completes the multi-Python follow-up to #156. Version ranges now select the newest matching release whose
Requires-Pythonpermits each target Python major/minor, using one index response per package.Distinct resolutions appear as separate rows in text, Markdown, JSON, and the
check_lockfile()API. Each retains its selected version, eligible files, and any error, withn/afor targets using another resolution. Identical resolutions share a row, and the existing JSON keys and scalarversionremain unchanged.Regular and free-threaded targets share release selection for the same Python major/minor while checking their own wheel tags. This works with both the PyPI JSON API and simple indexes. Exact pins and bare package names retain their existing behavior.
Adds offline regression coverage for release selection, file filtering, markers, free-threaded targets, failed lookups, refreshes, and report output. Updates the README and documentation.
Validation on Windows:
git diff --checkpassed.These checks were run through the existing virtual environment because the agent environment could not access its uv cache.
AI tools used (if any): OpenAI Codex assisted with implementation, tests, documentation, and validation.
Checklist
CHANGELOG.mdhas a line under## Unreleasedwith PR fix: resolve version ranges for each target Python #275 and contributor credit