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

Đang mở
#208 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, javascript, python
Lĩnh vực
ci-cd, data, tooling

Hướng nghiên cứu

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.

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

Mô tả

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

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

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

Issue tương tự

Thêm issue về JavaScript

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.