feat(windows): bundle Python runtime in Windows installer staging#256
Merged
Conversation
…aging - Pin CPython 3.12.12 in versions.manifest.json with standalone archive metadata - Download and extract install-only tarball in build-staging.ps1 (mirror env support) - Configure PATH and UV_* env vars in bootstrap-windows.ps1 for bundled Python - Assert bundled Python in Windows packaging CI workflows - Extend manifest and bootstrap script contract tests Co-authored-by: Cursor <cursoragent@cursor.com>
duguwanglong
approved these changes
May 12, 2026
duguwanglong
pushed a commit
that referenced
this pull request
May 13, 2026
…aging (#256) - Pin CPython 3.12.12 in versions.manifest.json with standalone archive metadata - Download and extract install-only tarball in build-staging.ps1 (mirror env support) - Configure PATH and UV_* env vars in bootstrap-windows.ps1 for bundled Python - Assert bundled Python in Windows packaging CI workflows - Extend manifest and bootstrap script contract tests
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.
Summary
Bundles a pinned CPython from python-build-standalone into Windows staging (
tools/python), wires bootstrap PATH andUV_PYTHON/ related env vars, and validates the staged runtime in packaging CI.Changes
versions.manifest.json: addpythonpin (3.12.12 + archive metadata)build-staging.ps1: download/extract tarball (optionalFLOCKS_PYTHON_STANDALONE_MIRROR_BASE_URL)bootstrap-windows.ps1: expose bundled Python to the process and uvpython.exeand version matchTesting
uv run pytest tests/packaging/test_windows_manifest.py tests/scripts/test_browser_runtime_configuration.py -qMade with Cursor