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

オープン
#41 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
0
フォーク
1
平均マージ
5時間 59分
マージ済み PR(30日)
19

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wheelgap/wheels のほかの issue

wheelgap/wheels の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。