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

Đang mở
#41 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
74/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, python

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
0
Fork
1
Merge trung bình
5 giờ 59 phút
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wheelgap/wheels

Tất cả issue của wheelgap/wheels

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.