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

Aperta
#208 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, javascript, python
Ambito
ci-cd, data, tooling

Direzione di ricerca

Start with the four wheelgap pins: WHEELGAP in site/check/worker.mjs and in .github/workflows/scan.yml, plus WHEELGAP_INSTALL and the scan_issues.py step. Then read the importorskip line in tests/test_check_driver.py and the gapwheels handling in site/check/driver.py. Done means all pins read 0.14.0, the six gap wheel tests run instead of being skipped, and each PR lists the answers that changed and why. Wait for wheelgap 0.14.0 on PyPI first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted high impact

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 (#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.
Lingua principale
JavaScript
Stelle
0
Fork
0
Merge medio
1h 38m
PR unite (30g)
132

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wheelgap/tracker

Tutte le issue di wheelgap/tracker

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.