You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Package pages: recent wheel changes from changes.json #115
data/changes.json records, every night, which packages gained or lost a wheel on which target (scripts/update_changes.py). The home page's pulse card shows the latest nights in aggregate. A package's own page doesn't say anything about its history, though "did numpy just add Windows ARM64 wheels?" is a common question, and a dated line like "gained a wheel for Windows ARM64 on 12 Nov" is the kind of fresh content search snippets like.
build() in scripts/build_pages.py already loads changes.json (for campaigns), so this needs no new data.
What to do
Pass each package's entries from changes.json into page() and add a short "Recent changes" list under the matrix: date, target (as PLATFORM_NAMES and the Python), and gained or lost, newest first, at most ten.
Say how far back the log goes (90 days, KEEP_DAYS in update_changes.py), so "no changes" isn't read as "never changed".
Leave the section out when there's nothing to show.
Escape everything with html.escape.
Tests: a gained and a lost entry render in order, another package's entries don't appear, and an empty log gives no section.
README: one line under "Package pages".
#75 (dropped platforms, PR #109) is about drops across releases with its own page and feed. This is the per-package view of changes.json and doesn't depend on it.
In �uild(), load changes.json (or empty list if missing) and group/index entries by canonical package name.
Pass the package's change entries to page().
Render "Recent changes" section:
Add changes_html(entries: list[dict]) -> str:
Omit the section entirely when there are no entries for the package.
Order entries newest first, capped at 10 items.
Format each item with date, target formatted as {PLATFORM_NAMES[platform]}, Python {python} (or equivalent), and action (gained a wheel / lost a wheel).
Include a note stating the log covers the last 90 days (KEEP_DAYS).
Strict html.escape on all dynamic values.
Render under the matrix in the page markup.
Tests & Docs:
Add tests covering gained/lost order, capping at 10, package isolation, and omission when empty.
Add a brief line to README.md under "Package pages".
Go for it, @dianatofficial! I've assigned this to you. The plan looks right, especially omitting the section when a package has no entries and escaping every value.
Assignments hold for 18 hours: open a PR (a draft is fine) by 00:14 UTC on 18 Nov to keep it. If there's no PR by then, the issue opens up again and the first PR to arrive is the one we merge.
Activity
dianatofficial commentedon Nov 17, 2026
Hi @patrickballard, I'd love to work on this!
Planned approach:
patrickballard commentedon Nov 17, 2026
Go for it, @dianatofficial! I've assigned this to you. The plan looks right, especially omitting the section when a package has no entries and escaping every value.
Assignments hold for 18 hours: open a PR (a draft is fine) by 00:14 UTC on 18 Nov to keep it. If there's no PR by then, the issue opens up again and the first PR to arrive is the one we merge.
(Reply assisted by Claude.)
feat: show recent wheel changes from changes.json on package pages (#115