v10.7.0 pilot wrapper release asset missing PyYAML dependency, breaks every command with ModuleNotFoundError
Title: v10.7.0 pilot wrapper release asset missing PyYAML dependency, breaks every command with ModuleNotFoundError
Summary
The pilot wrapper script shipped as a release asset for v10.7.0 (downloaded by install.sh / pilot-update.sh's download_pilot_binary from https://github.com/maxritter/pilot-shell/releases/download/v10.7.0/pilot) only declares cryptography==50.0.0 as an ephemeral uv run --with dependency:
exec uv run --python 3.12 --no-project --no-config --with cryptography==50.0.0 python -c "
...
from pilot import app
...
"
But the paired compiled binary for the same release (pilot-darwin-arm64.so / pilot.cpython-312-darwin.so) imports yaml at module init time (pilot.pyx line ~7109), which is not installed in the ephemeral uv run environment the wrapper creates. Every invocation of pilot (including pilot --version, pilot update, pilot status, everything) fails immediately:
Traceback (most recent call last):
File "<string>", line 8, in <module>
File "pilot.pyx", line 7109, in init pilot
ModuleNotFoundError: No module named 'yaml'
Because pilot update itself goes through this same broken wrapper, the install is unable to self-heal — it's a chicken-and-egg failure.
Root cause
Compare the wrapper's --with list to the one pilot-update.sh's own run_installer() uses for the installer itself:
uv run --python 3.12 --no-project --no-config \
--with rich==15.0.0 --with certifi==2026.7.22 --with PyYAML==6.0.3 \
python -m installer install ...
The installer's ephemeral env correctly pins PyYAML==6.0.3, but the release-built pilot wrapper asset (built/uploaded separately, presumably by CI for the compiled binary) was not updated to add the same PyYAML dependency when the compiled module started requiring it. The two build paths drifted out of sync.
Fix
Add --with PyYAML==6.0.3 (matching the version already pinned in pilot-update.sh) to the uv run invocation in the pilot wrapper template that gets built into each release asset:
exec uv run --python 3.12 --no-project --no-config --with cryptography==50.0.0 --with PyYAML==6.0.3 python -c "
Applying this locally to ~/.pilot/bin/pilot immediately restores functionality (pilot --version → Pilot Shell v10.7.0, pilot status → license valid, pilot update → "Already on latest version"), confirming this is the complete fix — no other missing dependency.
Environment
- macOS (Darwin, arm64)
- uv 0.12.1
- Pilot Shell v10.7.0
- Install method: standard
install.sh→pilot-update.shflow, local (non-container) install
@ianrios Sorry for the regression, 10.7.1 is already out and should fix this. Thanks for reporting! Best, Max