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

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, javascript, python
領域
ci-cd, data, tooling

調査の方向性

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.

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

説明

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

環境構築

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

はじめの一歩

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

wheelgap/tracker のほかの issue

wheelgap/tracker の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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