projection: carry portable pip admission

The Darwin cross-build now detects pip's system-package policy before selecting its install arguments.

Source-Sha: 1793441d456791f4e403e097aae785db19ea80c2

Policy-Sha: 1793441d456791f4e403e097aae785db19ea80c2

Tree-Digest: 0ec3891913f92c147e0ca0f1f6c35c1422c263db9e0cb56ea1befcfcb03ce2a2
This commit is contained in:
Fimeg 2026-09-09 20:58:24 -04:00
commit 00c1686b87

View file

@ -128,7 +128,12 @@ jobs:
- name: Install cargo-zigbuild - name: Install cargo-zigbuild
if: matrix.use_zigbuild if: matrix.use_zigbuild
run: pip3 install --break-system-packages cargo-zigbuild run: |
pip_args=()
if pip3 install --help | grep -q -- '--break-system-packages'; then
pip_args+=(--break-system-packages)
fi
pip3 install "${pip_args[@]}" cargo-zigbuild
- name: Cross-compile Go (server) - name: Cross-compile Go (server)
env: env: