Skip to content

Bump the wheelgap pins after 0.14.0: the checker's (0.13.0) and the nightly scan's (0.9.0) #208

Done

Description

@patrickballard

Blocked until wheelgap 0.14.0 is on PyPI. Check with uvx wheelgap@latest --version before starting.

The tracker pins wheelgap in four places, and they have drifted apart:

Where Pin today What it runs
site/check/worker.mjs, WHEELGAP wheelgap==0.13.0 the repo checker, in Pyodide
.github/workflows/scan.yml, WHEELGAP wheelgap==0.9.0 the nightly scan of the top 5,000
.github/workflows/scan.yml, WHEELGAP_INSTALL wheelgap==0.11.0 the install-tree and way-out passes
.github/workflows/scan.yml, "Add issue trackers for gaps" wheelgap==0.13.0 scripts/scan_issues.py

Two things are wrong today because of it:

  • The checker's gap wheel feature (Repo checker: show when a gap wheel fills a gap, with the lines to install it (wheelgap --fix) #187) is switched off on the live page, and its tests don't run. wheelgap 0.13.0 has no gapwheels module (--fix is after 0.13.0). So site/check/driver.py sets gapwheels = None, supports_gap_wheels() is false, and gap_wheels() returns nothing: no "gap wheel" marks, no "Gap wheels" section. test_gap_wheels_reuse_cli_checks in tests/test_check_driver.py starts with pytest.importorskip("wheelgap.gapwheels"), so CI (.github/workflows/check.yml, which installs the pinned version) skips all six cases.
  • The site's numbers come from a tool several releases old. Every fix to how a wheel is matched since 0.9.0 is missing from the public data, and the home page prints "wheelgap 0.9.0" next to the scan date.

What to do

Two PRs, the checker first.

  1. Checker: set WHEELGAP in worker.mjs to wheelgap==0.14.0. Then re-verify, and say in the PR what you saw:
    • tests/test_check_driver.py and tests/test_check_parity.py pass with --with wheelgap==0.14.0, and the six test_gap_wheels_reuse_cli_checks cases now run (not "skipped").
    • Remove the importorskip("wheelgap.gapwheels") line, so a future pin without the module fails loudly.
    • The page loads wheelgap 0.14.0 in Pyodide (micropip needs a pure wheel and packaging>=26.3 to be installable there).
    • On three real repos (the page's own examples), the result with 0.14.0 and with 0.13.0: list every package whose answer changed and why (a whole uv.lock is now checked as uv sync --all-packages --all-extras --all-groups installs it, #572 in wheelgap, so counts will move).
    • A repo whose gaps a gap wheel fills shows the "gap wheel" marks and the "Gap wheels" section.
  2. Scan: set WHEELGAP, WHEELGAP_INSTALL and the scan_issues.py step to 0.14.0, and remove the comments that explain why they differ. Update the example command at the top of scripts/check_pip.py. Then re-verify:
    • Run the scan locally for a small --top (say 200) with 0.9.0 and with 0.14.0 and diff coverage.json: list every cell that changed, by cause.
    • scripts/check_scan.py accepts the new scan against the committed data/history.json (it refuses a sharp drop in any target's wheel count; if the new version legitimately moves a count that far, say so and don't work around the check: a maintainer runs that night with allow_drop).
    • The first night on a new version must not flood data/changes.json, data/drops.json and the new-wheels feed with "changes" that are the tool's, not PyPI's. scripts/update_changes.py and update_drops.py skip a night whose wheelgap differs from the night before; check that still holds and that the home page shows the "wheelgap 0.9.0 -> 0.14.0" mark.
    • scripts/check_pip.py (the agreement check against pip) still passes with the new pin.

Done when:

  • All four pins say 0.14.0, and README.md's test commands still work as written.
  • CI runs the gap wheel tests (the PR quotes the test summary line).
  • The PR for each step lists what changed in the answers and why.
  • The nightly scan after the merge publishes, with no manual fix-up of the data.

Activity

  1. added
    enhancement
    help wanted
    high impact
    on Nov 21, 2026
  2. patrickballard commented on Nov 21, 2026

    @patrickballard
    ContributorAuthor

    Two more things to check when the pins move, from this week's reviews:

    (Posted with help from Claude.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedhigh impact

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions