Repository navigation
feat: publish and display packages blocking the most top-500 installs (#93) - #144
Conversation
|
Thanks @dianatofficial, this looks good overall: a "what blocks the most installs" list is a really useful view, and Because it changes (Review assisted by Claude.) |
…thon, refresh on platform change (wheelgap#93) - A package no longer counts as blocking its own tree (the scanner lists the root as its own blocker): on win-arm64 that was 20 of 21 rows. This list is now the dependencies holding other top-500 packages back; most-wanted ranks the rest. - Only targets with checked trees are written, a checked tree is a CHECKED status, names are canonicalised like the other scripts (PEP 503) and examples are the highest-ranked trees. - The card falls back to the newest Python checked on the platform (installs are only scanned for some), says so, and says when a platform isn't checked at all. - Clicking a platform card or changing the platform select re-renders it. - Package names link to their pages; the step warns instead of stopping the deploy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…p to 50 (wheelgap#93) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merged, thanks @dianatofficial! It's a really useful list. One change before merging: a package no longer counts as blocking its own tree. The scanner lists the root as its own blocker, so on win-arm64, 20 of 21 rows were just repeating most-wanted. The card now shows the dependencies holding other top-500 packages back. It also falls back to the newest Python that was checked, and it updates when you switch platforms. If you'd like another, wheelgap/wheelgap#379 ( (Reply assisted by Claude.) |
Resolves #93
Summary
Counts and publishes the packages that break the most top-500 dependency trees per platform, and surfaces them on the home page:
scripts/build_blockers.py):sourceormissingas a blocker).not_checkedtrees and accurately records the number of checked trees (checked: N)._site/data/blockers.jsonat publish time containing the top 50 blockers per target with counts and up to three example blocked packages..github/workflows/scan.ymlpublish step.site/index.html,site/app.js,site/home.css,site/logic.js):blockersForTargetvalidation helper insite/logic.jsensuring safe package names and numbers.e.g.
Blocking the most installs on win-arm64 (of 498 checked top-500 packages): cryptography (blocks 30 of 498: google-auth, google-api-core, ...).README.md):data/blockers.jsonin the README's published data section.tests/test_blockers.py: unit tests for counting logic, deduplication within a single tree, skippingnot_checkedtrees, capping at 50, and safe name validation.tests/site/logic.test.js: unit tests forblockersForTargetvalidation.tests/site/app.test.js: unit tests forrenderBlockersrendering.