From 528e7e21b11b51819bad73e98433edc1b0e0f087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Wed, 8 Apr 2026 15:31:13 +0100 Subject: [PATCH] fix(runner): use uv pip install for Python venv Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/runner/supervisor.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/runner/supervisor.mjs b/apps/runner/supervisor.mjs index e178e75..48de31b 100644 --- a/apps/runner/supervisor.mjs +++ b/apps/runner/supervisor.mjs @@ -253,7 +253,7 @@ const server = createServer(async (req, res) => { const { execSync } = await import("node:child_process"); try { execSync(`uv venv ${join(svcSourcePath, ".venv")}`, { timeout: 30_000, stdio: "pipe" }); - execSync(`${join(svcSourcePath, ".venv/bin/pip")} install ${body.uvxPackage}`, { timeout: 120_000, stdio: "pipe" }); + execSync(`uv pip install --python ${join(svcSourcePath, ".venv/bin/python")} ${body.uvxPackage}`, { timeout: 120_000, stdio: "pipe" }); console.log(`[runner] uvx package installed: ${body.uvxPackage}`); } catch (e) { return json(res, 500, { error: `uvx install failed: ${e.message}` });