fix(python): make Windows release paths native

Run the GitHub Windows runtime leg under the runner’s native PowerShell instead of inheriting the POSIX Bash body. POSIX and Windows now own explicit output resolution, virtual-environment setup, environment scrubbing, and keyless/live black-box commands, while portable build commands continue to use each runner’s default shell.

Put the pinned uv installation on the GitLab Windows job PATH before either the smoke or release builder invokes it. Reject a runtime executable whose basename does not match the selected platform manifest, and reject Intel macOS at platform selection instead of reporting a misleading missing artifact.

Add a complete PowerShell path to the published Python tutorial and record the three-phase shutdown-time bound in the Windows runtime decision. Workflow, Python, and bilingual documentation tests pin the resulting behavior.
This commit is contained in:
Tianyi Cui
2026-08-24 19:09:40 +08:00
parent d4a63abe85
commit 8101a0d097
13 changed files with 270 additions and 67 deletions
+2 -2
View File
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/user/guide/python-sdk.md
python-sdk.md: 5fd8b35c08acdd0f0ff457547ca62b31e12994d5
python-sdk.zh.md: 354d6829dc07056556d19ddfca68a95ad3a5b47f
python-sdk.md: 388b259f0adbba11b7d359fcf861980cf0a3bec7
python-sdk.zh.md: 2cc23e5cd1d7d7df5ad4b27441c54e6c3239c917