A "Request a wheel" issue form, linked from the gap wheels page

Aperta
#41 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
74/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, python

Direzione di ricerca

Start by copying .github/ISSUE_TEMPLATE/broken-wheel.yml and reading report_url() and human_page() in scripts/build_gap_index.py, since the new link should be built the same way. Add the new template, the two page links, and a README section next to "Reporting a wheel that doesn't work". Done when the template renders on GitHub, tests/test_gap_index.py checks the links, and the dropdown-versus-build_lab.TARGETS test fails when a target is removed.

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

Descrizione

enhancement good first issue

Someone who hits a gap today (say pip install fastparquet failing on Python 3.15) and finds https://wheelgap.github.io/wheels/ can see whether the wheel is there. If it isn't, the page gives them nothing to do. There is a form for a broken wheel (.github/ISSUE_TEMPLATE/broken-wheel.yml) and none for a missing one. Requests are also the only way we learn which wheels people need, as opposed to which ones download counts suggest.

The page can already credit a request: data/gap-wheel-requests.json names who asked for a package, and human_page() in scripts/build_gap_index.py shows it on the row. There is one entry, added by hand.

(First part of wheelgap/tracker#133, rewritten for this repo. Having the batch planner read the requests is a separate, design-first issue.)

What to do

  • Add .github/ISSUE_TEMPLATE/gap-wheel-request.yml, modelled on broken-wheel.yml:
    • package name (required), version (optional: "the latest" if empty);
    • a dropdown of the targets the pipeline builds for, taken from the README's table: Windows on ARM (3.14, 3.14t), Windows x64 (3.15), Linux x86_64 glibc (3.14t, 3.15), Alpine Linux on ARM (3.14), and "another platform or Python" (say plainly that those can't be built yet, and that the request still helps us choose);
    • what failed (the install command and the error's last lines, optional);
    • a checkbox: "I've checked the list at wheelgap.github.io/wheels and the wheel isn't there";
    • a short note above the fields: wheels are built from the PyPI sdist only, a request isn't a promise, and a package whose maintainers opted out isn't built.
    • title prefix Wheel request: , and a label. Use enhancement unless a maintainer has added a wheel request label by the time you open the PR (creating labels needs repo access; ask in the PR).
  • On the page (human_page()), add a "Request a wheel" link next to the "report it here" link in the intro, and one more under the table ("Don't see the package you need? Request a wheel."). Build the URL as report_url() builds the broken-wheel one.
  • In the README, add a short "Requesting a wheel" section next to "Reporting a wheel that doesn't work".
  • A test in tests/test_data.py or tests/test_gap_index.py that the form's dropdown lists every row of build_lab.TARGETS (so the form can't go stale when a target is added), reading the YAML with a small line-based check, since the tests have no YAML dependency.

Done when:

  • The form renders on GitHub (open it from your fork: https://github.com/YOU/wheels/issues/new?template=gap-wheel-request.yml) and the PR has a screenshot.
  • tests/test_gap_index.py checks both links are on the page and point at the template.
  • The targets test fails if you remove a target from the dropdown.
  • uvx --python 3.14 [email protected] passes, offline.
Lingua principale
Python
Stelle
0
Fork
1
Merge medio
5h 59m
PR unite (30g)
19

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/wheels

Tutte le issue di wheelgap/wheels

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.