Repository navigation
Dropped platforms: record the day a top package's release drops a platform's wheel, with a page and an Atom feed - #109
Merged
patrickballard merged 3 commits intoNov 16, 2026
Conversation
…tform's wheel, with a page and an Atom feed (wheelgap#75) Signed-off-by: sarankumar1325 <[email protected]>
…other review fixes - A candidate drop waits in `waiting` from the scan that first saw it and is published only if a scan 20 or more hours later still finds the same release without the wheel, so a release caught mid-upload (Linux wheels up, Windows/macOS still on their way) is no longer a permanent false drop. - A release that leaves no wheel on any target of one Python (while other Pythons keep theirs) ended support for that Python: its targets aren't listed as dropped platforms. - Labels are shared between scans only when the whole target definition is equal and, for Pyodide, the Pyodide lock is unchanged. - drops.json records the wheelgap version it waited under; a new version clears `waiting`, and the file is written on that night too. Packages that leave the scan stop waiting. - build_drops takes coverage.json: the Atom id uses the canonical name, and a package links to its page only while it's in the scan, otherwise to PyPI. scan.yml warns instead of failing the deploy if build_drops fails. - Tests for partial uploads, the hold, Python support ending, target and Pyodide lock changes, wheel <-> bundled, packages entering and leaving the top N, a new Python label, and wheelgap bumps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…later A wheel uploaded more than the 20-hour hold after the release (a slow job, a manual upload days later) left the drop on the page and in the feed for a year. Each night, drop entries for tonight's version whose target now has a wheel are removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Merged, thanks @sarankumar1325! The tracker now notices the day a top package's release drops a platform's wheels, with a page and an Atom feed people can subscribe to. That was the high-impact #75, and it turns the tracker from a snapshot into something that watches. From review we made it hard to publish a false drop:
(Reply assisted by Claude.) |
Contributor
|
Thanks, @sarankumar1325! This looks good overall, and replaying the real nightly scans to find the faiss-cpu macOS arm64 drop is a great check. It changes (Review assisted by Claude.) |
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #75.
Nightly (
scripts/update_drops.py previous.json data/coverage.json data/drops.json)This is a new
scan.ymlstep right after "Record the wheels gained and lost", withcontinue-on-errorlike that step. For each package whose current release changed since the previous scan, every target where the previous release had awheeland the new one issourceormissingis a drop:{date, name, from, version, target}.What a drop is compared with: the previous scan's entry (
previous.json) instead of a fresh PyPI lookup. That entry is the release users had until today, so the step needs no network, no extra lookups and no time limit. The one difference from "the immediately preceding release on PyPI": if two releases come out between scans, the comparison is with the last one scanned. That's the one people were actually installing. If you'd rather have the JSON API lookup, I can add it as an optional pass, likescan_way_out.py.Only real drops count:
waiting({name, from, version, wheels, since}). On a later night it's compared withfrom, the release before it, not with last night's empty scan, once a wheel shows up. If it still has no wheel after 7 days, it's compared as it is.packaging), and versions it can't parse are never treated as going back.unknown, targets only one scan has, and nights that move to a new wheelgap version are skipped, exactly asupdate_changes.pydoes. A second scan on the same day doesn't add anything twice. Drops older than 365 days age out.Publishing (
scripts/build_drops.py data/drops.json _site, in the publish job after the campaigns)drops/index.html, "Dropped platforms": the latest 200 releases, newest first. Each row has the date, a link to the package page,from → version, and the dropped targets. It also says how many releases are waiting, and links the feed and JSON. Plain HTML under the usual CSP, no JavaScript.drops.xml: an Atom feed with one entry per release (latest 50), linking the package page. The page has<link rel="alternate">to it.data/drops.jsonis published with the rest ofdata/(the existingcp data/*.json). It's in the scan artifact, and the commit job adds it if it's a regular file. It comes from the same job aschanges.json, which is committed the same way, and everything shown from it is HTML/XML-escaped.Tried on real data: I replayed the committed nightly scans from 10 to 15 Nov through
update_drops.py.macosx_15_0where 1.15.1's weremacosx_14_0, which I checked on PyPI.The publish steps on today's data build the page, the feed and the sitemap entry.
Tests (
tests/test_drops.py, 20):unknowncells and removed targets;went_backcases;The README's API section documents
data/drops.json, the page and the feed.scan.ymlparses as YAML.uvx --python 3.14 [email protected]: 403 passed, 1 skipped. The node site tests pass.Written with an AI coding assistant; I reviewed and tested every change.