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
feat: support manifest_urls fallback mirrors and parsing in python.override
Introduces support for mirror fallback download urls inside python.override and parses python-build-standalone SHA manifests dynamically in Bzlmod.
Features:
- Added 'add_runtime_manifest_urls' (string_list) and 'runtime_manifest_sha' (string) tags inside python.override, allowing multiple mirrors for hermetic manifest and release asset downloads.
- Implemented Starlark manifest parser in 'python/private/pbs_manifest.bzl' containing 'parse_filename' (filename components dictionary parser) and 'parse_sha_manifest' (spaces-robust manifest entries parser).
- Resolved C header compilation issues in full hermetic builds by dynamically setting strip_prefix to 'python/install' for full builds and 'python' for stripped runtimes, and filtered flavor downloads to prevent install_only overrides.
- Added 'tests/support/mocks/python_ext.bzl' mock helper automatically injecting default tag/module attributes to simplify Bzlmod extension mock unit tests.
- Wrote comprehensive Starlark unit tests in 'tests/python_bzlmod_ext' and Bazel-in-Bazel integration tests verifying the hermetic interpreter path, exact version (3.11.15), and build date (20260414).
0 commit comments