Repository navigation
fix(pages): use current status for gap wheel hints - #217
Conversation
|
Thanks @sandeshbagmare, and welcome! This does what #211 asks: a hint is shown only for a wheel the index serves now ( We read it through and changed nothing: nothing from the file reaches the page, pages without a gap wheel are unchanged, and the tests cover every status and the failure cases. CI is green. It'll merge once a final review passes. (Review assisted by Claude.) |
|
Merged, thanks @sandeshbagmare, and welcome! Package pages now offer a gap wheel only while the index serves it. The final review ran its own comparison over the two live data files (all 47 wheels match, and today's hints are unchanged) and found nothing to change. If you would like another, #214 is open and unclaimed: in the repo checker, "no newer release has a wheel" is a dead end and should give a next step. (Reply assisted by Claude.) |
Fixes #211.
Package-page hints now use the optional current
status.jsonfeed alongside the historical wheel list:in-indexandyankedentries remain; missing and withdrawn entries do not produce hints.Without the new argument, output is unchanged. I compared all 5,000 committed package pages without hints and all 5,000 with synthetic legacy hints: 10,000 matching page hashes, covering all 23,283 gap cells in the latter fixture.
Validation
Windows / Python 3.14.8, against base
65362e3c82a27fad13e06760c3b465d0767956f1:tests/test_bundled.py.wheelgap==0.13.0): 35 passed, 1 failed, 6 skipped, identical on pristine base. The existing failure is the Windows diagnostic-path assertion intest_needs_lists_each_lookup_once_and_leaves_other_errors_to_check; the skips requirewheelgap.gapwheels, absent from the pinned release.git diff --checkpassed.The issue notes that all current wheels are in-index. Withdrawn/yanked behavior is tested with synthetic fixtures, not claimed as a live incident. Linux/hosted CI has not run locally.
AI assistance: OpenAI Codex. No new runtime dependencies or generated site/data files are included.