Repository navigation
Add upstream shortlist script for unblocked build-lab candidates (#267) - #298
Merged
patrickballard merged 2 commits intoNov 30, 2026
Merged
Conversation
Contributor
|
Thanks @dianatofficial, this looks good overall: the shortlist rules follow #267 closely, the tests run offline with a fake fetch, and the token only goes to api.github.com. It adds a new script under |
- A failed issue search, PyPI lookup or PR listing now blocks the candidate with the reason, rather than reading as 'no existing PR' or 'no merged PRs'. - Look at the 100 most recently updated closed PRs, not 10, before calling a repo inactive. - Don't guess when PyPI links several different GitHub repos. - One failing candidate no longer aborts the run. - Honour x-ratelimit-reset; space searches 6 s apart without a token. - Send the token as an unredirected header. - Ignore the default output file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Merged all three (#296, #297 and #298), thanks @dianatofficial! I made a few changes on your branches before merging:
If you want another, wheelgap#778 (real screenshots of the CI gate's PR comment in the docs) is open and unclaimed. |
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.
Implements
scripts/upstream_shortlist.pyand offline tests intests/test_upstream_shortlist.py.Closes #267.
What it does
data/builds.jsonthat built cleanly (outcome == "built",import == "ok",gil != "re-enabled") whose latest release still lacks a wheel indata/coverage.json, ordered by packagerank./pypi/{name}/{version}/json) usingbuild_upstream_fixes.pick_repo.GET /repos/{repo}/pulls?state=closed), flagging repos with no merged PRs or no merged PR within the last 6 months asblocked.win-arm64,musl,freethreaded,3.15) in 5-term OR chunks, flagging already-tracked targets asblocked.default_fetchwith a 20s timeout and sendsGITHUB_TOKEN/GH_TOKENstrictly toapi.github.com.Live run output (
--limit 30)Verification
python -m pytest -q tests/test_upstream_shortlist.py tests/test_scripts.py tests/test_assets.py tests/test_star_links.py tests/test_site_metadata.py(55 passed, 27 subtests passed)python scripts/check_notes.pyruff check scripts/upstream_shortlist.py tests/test_upstream_shortlist.py