IQ.Pilot Release Commit @ a2f34e6

This commit is contained in:
IQ.Lvbs CI [bot]
2026-08-31 21:53:50 -05:00
parent 091e08e893
commit 4988e825c9
2 changed files with 10 additions and 0 deletions

View File

@@ -67,6 +67,10 @@ sync_python_env() {
&& PYTHONPATH="$DIR" "$DIR/.venv/bin/python3" "$DIR/iqpilot/system/runtime_wheels_verify.py"; then && PYTHONPATH="$DIR" "$DIR/.venv/bin/python3" "$DIR/iqpilot/system/runtime_wheels_verify.py"; then
RUNTIME_WHEELS_READY=1 RUNTIME_WHEELS_READY=1
fi fi
if [ ! -f "$DIR/prebuilt" ] && [ ! -x "$DIR/.venv/bin/python3" ]; then
PACKAGES_READY=0
RUNTIME_WHEELS_READY=0
fi
if [ "$PACKAGES_READY" != "1" ] || [ "$RUNTIME_WHEELS_READY" != "1" ]; then if [ "$PACKAGES_READY" != "1" ] || [ "$RUNTIME_WHEELS_READY" != "1" ]; then
UV_CACHE_DIR="$DIR/.uv-cache" UV_CACHE_DIR="$DIR/.uv-cache"
if [ ! -x "$DIR/.venv/bin/python3" ]; then if [ ! -x "$DIR/.venv/bin/python3" ]; then
@@ -114,6 +118,9 @@ sync_python_env() {
printf '%s\n' "$RUNTIME_WHEEL_LOCK_SHA" > "$DIR/.iqpilot-runtime-wheel-lock-sha256" printf '%s\n' "$RUNTIME_WHEEL_LOCK_SHA" > "$DIR/.iqpilot-runtime-wheel-lock-sha256"
fi fi
fi fi
if [ ! -f "$DIR/prebuilt" ] && [ ! -x "$DIR/.venv/bin/python3" ]; then
return 1
fi
if [ -n "$VENV_SITE_PACKAGES" ]; then if [ -n "$VENV_SITE_PACKAGES" ]; then
printf 'import site; site.addsitedir("%s")\n' "$BASE_SITE_PACKAGES" | sudo tee "$VENV_SITE_PACKAGES/iqpilot-system-venv.pth" >/dev/null printf 'import site; site.addsitedir("%s")\n' "$BASE_SITE_PACKAGES" | sudo tee "$VENV_SITE_PACKAGES/iqpilot-system-venv.pth" >/dev/null
fi fi

View File

@@ -173,6 +173,9 @@ function launch {
# for local dev edits or a failed apply-time prep, under the boot spinner as before. # for local dev edits or a failed apply-time prep, under the boot spinner as before.
source "$DIR/artifacts/runtime/env_sync.sh" source "$DIR/artifacts/runtime/env_sync.sh"
sync_python_env || return 1 sync_python_env || return 1
if [ ! -f "$DIR/prebuilt" ] && [ ! -x "$DIR/.venv/bin/python3" ]; then
return 1
fi
export PATH="$DIR/.venv/bin:$PATH" export PATH="$DIR/.venv/bin:$PATH"
RUNTIME_COMPAT_ROOT="$DIR/.iqpilot/runtime_root" RUNTIME_COMPAT_ROOT="$DIR/.iqpilot/runtime_root"