Symlink the interpreter when creating a cross venv. #109
All Vouch review confidence checks passed
Residual risk 0.10 = Change Risk (0.32) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 32 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.209
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
2 items
Approved
Nice catch! Thanks!
freakboy3742
kattni
CrossVenvConfig.create()calledvenv.create(venv_path, with_pip=with_pip), which defaults tosymlinks=False, so the host interpreter was copied into the new venv. python-build-standalone interpreters (such as those managed byuv) linklibpythonvia@executable_path/../lib/libpython3.X.dylib. A copied binary can't find that library, soensurepipdied withSIGABRTandxvenvfailed for every target platform. Runningpython -m venvwith the same interpreter works, because the CLI defaults to symlinks on non-Windows platforms.This passes
symlinks=(os.name != "nt")tovenv.create(), matching thepython -m venvdefault. Nothing else in xvenv relies on the interpreter being a copy.Reproduced and verified on macOS with uv's
cpython-3.11.13-macos-aarch64-none:xvenv --platform ios --arch arm64-iphonesimulator <path>aborted before this change and now creates a working cross venv (sys.platform == "ios", pip runs). Unit tests cover the symlink setting on POSIX and Windows.PR Checklist:
<!--- Go over all the following points, and put an
xin all the boxes that apply. --><!-- update or delete the next line to reflect your usage -->
Assisted-by: Claude Code (Claude Opus 5.5)