Skip to content

Commit 1bbeb59

Browse files
Zac-HDclaude
andcommitted
Fix update_pyodide_versions for relocated xbuildenv metadata
pyodide deleted the top-level pyodide-cross-build-environments.json; the cross-build environment metadata now lives at metadata/pyodide-cross-build-environments-v2.json (the v1 schema is frozen). Fetching the old URL returned a "404: Not Found" body, which crashed the weekly update-pinned-dependencies job with a JSONDecodeError. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent 552a461 commit 1bbeb59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tooling/src/hypothesistooling/__main__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def version_tuple(v: str) -> tuple[int, int, int]:
484484
key=version_tuple,
485485
)
486486

487-
cross_build_environments_url = "https://raw.githubusercontent.com/pyodide/pyodide/refs/heads/main/pyodide-cross-build-environments.json"
487+
cross_build_environments_url = "https://raw.githubusercontent.com/pyodide/pyodide/refs/heads/main/metadata/pyodide-cross-build-environments-v2.json"
488488
cross_build_environments_data = requests.get(cross_build_environments_url).json()
489489

490490
# Find the latest stable release for the Pyodide runtime/xbuildenv that is compatible

0 commit comments

Comments
 (0)