Gap wheels page: list the verified wheels that weren't published, and why (held.json)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd, tooling, web-dev

調査の方向性

Start in scripts/gap_wheels.py, at cmd_stage() where the lines table is built, and at select() for the publish-time reasons. Then read scripts/build_gap_index.py (human_page() and build()) and the publish job in .github/workflows/gap-wheels.yml. The issue asks first for a written proposal on the publish-job change, which a maintainer must approve before code. Done means the held.json shape and the merge are tested in tests/test_gap_wheels.py, and the page section is tested in tests/test_gap_index.py.

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

説明

enhancement help wanted

The page at https://wheelgap.github.io/wheels/ lists what was published. It says nothing about what was built and held back, though every batch holds some. The 2026-11-20 batch (run 44831141560) verified 33 pairs and staged 29. Its summary also had, among others:

| fastparquet | 2026.9.0 | 3.15 linux-x86_64 | the two builds differ, in `fastparquet-2026.9.0.dist-info/RECORD`, `fastparquet/speedups.cpython-315-x86_64-linux-gnu.so` |
| jpype1 | 1.7.1 | 3.15 win-amd64 | the two builds differ, in `jpype1-1.7.1.dist-info/RECORD`, `org.jpype.jar` |

plus four "PyPI names no OSI-approved licence for it", five "a build made no wheel" and two "pip couldn't install it without compiling". Those lines live in a workflow run summary that GitHub deletes after 90 days, and that nobody looking for their package will find.

Showing them does three things. A user who wants fastparquet on 3.15 sees it was tried and why it isn't there. A package maintainer sees the one thing to fix (state a licence, make the build reproducible). And "we held back N wheels this week, for these reasons" is the most convincing evidence that the checks are real.

(Moved from wheelgap/tracker#128, rewritten for this repo.)

Where

  • scripts/gap_wheels.py: cmd_merge() writes the verify verdict per pair, cmd_stage() builds the lines table with each pair's reason (or staged), and select() adds the publish-time reasons.
  • .github/workflows/gap-wheels.yml: the publish job commits data/gap-wheels.json.
  • scripts/build_gap_index.py: human_page() builds the page, build() writes data/status.json.

What to do

  • First step: cmd_stage() also writes held.json next to staged.json: {"schema": 1, "batch": ..., "date": ..., "held": [{"name", "version", "target", "stage": "verify"|"stage", "reason"}]}. It's the trusted job's own output, like staged.json. Give each reason a short fixed code as well as the text (builds-differ, no-licence, no-wheel-built, needs-compiler, missing-library, no-recipe, ...), set where the reason is decided, never parsed back out of the sentence. A reason can quote file names from a wheel: keep them in a separate detail field and validate them (the code already limits member names with MEMBER).
  • The publish job merges it into data/gap-wheels-held.json in the repo: the latest result per (name, version, target), dropped when that pair is later published or its release leaves PyPI, capped (say 300 entries, newest first). It's committed in the same commit as data/gap-wheels.json. This step changes what the publish job writes, so describe it in the PR before the code and wait for a maintainer's answer.
  • build_gap_index.py adds a "Built but not published" section to the page, grouped by reason code, each with one plain sentence on what it means and what would fix it, and copies the file to data/held.json on the site.
  • Everything shown is escaped with html.escape, as the rest of the page is.
  • Later: link each held pair to the tracker's package page, and add held wheels to the Atom feed.

Done when:

  • Tests in tests/test_gap_wheels.py cover held.json's shape for each reason code and that a staged pair isn't in it.
  • Tests for the merge: a newer result replaces an older one, a published pair is dropped, the cap holds.
  • Tests in tests/test_gap_index.py cover the page section (grouping, escaping of a reason detail like <b>.so), a missing file (no section, no crash) and a malformed one.
  • tests/test_data.py validates the committed data/gap-wheels-held.json once it exists.
  • The README's "How a wheel gets here" says where held wheels are listed.
  • 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 を短くまとめたダイジェスト。