Skip to content

Show install coverage for package dependency trees - #80

Merged
patrickballard merged 4 commits into
wheelgap:mainfrom
Golden007-prog:feat/74-package-dependency-coverage
Nov 16, 2026
Merged

patrickballard merged 4 commits into
wheelgap:mainfrom
Golden007-prog:feat/74-package-dependency-coverage

Conversation

@Golden007-prog

Copy link
Copy Markdown
Contributor

Closes #74.

The optional nightly pass checks the dependency trees of the top 500 packages using the released wheelgap CLI. It pins each root to the version in the same coverage snapshot and checks the native lab targets plus Python 3.14 on Linux and macOS. The existing single-package scan keeps its own pin.

Package pages and per-package JSON now show whole-tree outcomes and paths to source builds or missing distributions. Unknown, refused, and timed-out checks report “Not checked”. The extra scan has bounded concurrency and a deadline and preserves the core snapshot if it cannot write its results.

Validation

  • 293 Python tests passed and 6 skipped, plus 27 JavaScript tests.
  • Notes validation, site syntax, and workflow YAML parsing passed.
  • A smoke check used the released wheelgap 0.11.0 CLI and the pinned snapshot version of packaging. All eight selected targets reported wheel coverage.

OpenAI Codex assisted with implementation, review and validation.

@patrickballard

Copy link
Copy Markdown
Contributor

Thanks, @Golden007-prog, this is a quick turnaround on a big issue. On a first read it looks good overall: the tree scan is bounded, anything unresolved, refused or timed out comes out as "Not checked" rather than "works", and the dependency paths are escaped on the page with a test pinning that.

Because it changes the nightly scan (scripts/ and .github/workflows/scan.yml) and #74 is a help wanted issue, Patrick will review and merge this one himself. Two things he'll likely look at, no action needed from you now:

  • the wording change for pure-Python packages ("installs everywhere" → "ships a pure Python wheel"), which applies to all 5,000 pages, not only the 500 with tree results;
  • how the extra pass behaves in the workflow when it fails or hits its 25-minute limit (continue-on-error).

(Review assisted by Claude.)

patrickballard and others added 3 commits November 16, 2026 01:01
…e repo, room in the job

From review: a report with ignored or skipped packages, or a via path that
isn't a list of names, is not_checked; wheelgap runs from an empty folder so
no pyproject.toml settings apply; the scan job's cap leaves room for the
pass; the site's pure-Python wording matches the package pages; the root's
own line drops its one-step path; the scan prints how many it checked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@patrickballard
patrickballard merged commit 0b4d608 into wheelgap:main Nov 16, 2026
1 check passed
@patrickballard

Copy link
Copy Markdown
Contributor

Merged, thanks @Golden007-prog! Package pages now answer the question people actually search for, "will pip install X work here?", and they refuse rather than guess on any tree that doesn't resolve. That's the house rule exactly. It also caught a wrong answer we were giving: pure-Python pages said "installs everywhere" even when a dependency compiles.

From review I pushed a few changes:

  • wheelgap now runs from an empty folder, so no pyproject.toml settings apply;
  • a report that leaves a package out, or has an odd via path, is "Not checked";
  • the scan job's time limit leaves room for the new pass;
  • packages with nothing checked get no section;
  • the main site's wording matches the pages.

If you'd like another, #77 builds straight on this: on the same package pages, show the release to pin that closes each gap. Say the word and it's yours.

(Reply assisted by Claude.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package pages: will pip install X work? Check the whole tree with wheelgap --deps

2 participants