Skip to content

Commit 84a6c79

Browse files
claudeluhenry
authored andcommitted
Add CPython tag denylist to check-releases
Some CPython tags don't build cleanly on riscv64. Rather than retrying them on every scheduled run, maintain a small in-script DENYLIST of CPython tags (starting with v3.13.0a2 and v3.13.0b3) that are skipped after the release-existence check.
1 parent d07b580 commit 84a6c79

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/scripts/check-releases.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
)
3939
BUILD_WORKFLOW = "build-python.yml"
4040

41+
# CPython tags we know don't build on riscv64. Skipped silently after the
42+
# release-existence check fails.
43+
DENYLIST: frozenset[str] = frozenset({
44+
"v3.13.0a2",
45+
"v3.13.0b3",
46+
})
47+
4148
# Poll cadence (seconds)
4249
RUN_DISCOVERY_POLL = 5
4350
RUN_DISCOVERY_ATTEMPTS = 60 # up to 5 minutes
@@ -233,6 +240,10 @@ def main() -> int:
233240
log(" already released, skipping")
234241
continue
235242

243+
if tag in DENYLIST:
244+
log(" in denylist, skipping")
245+
continue
246+
236247
ft = minor >= 13
237248
log(f" queued for dispatch (freethreaded={str(ft).lower()})")
238249
to_dispatch.append((tag, ft))

0 commit comments

Comments
 (0)