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

Abierto
#208 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, javascript, python
Área
ci-cd, data, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
JavaScript
Estrellas
0
Forks
0
Merge medio
1 h 38 min
PR fusionados (30 d)
132

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de wheelgap/tracker

Todos los issues de wheelgap/tracker

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.