Skip to content

Commit

Permalink
fix: add proxy envs (http_proxy) to uv install
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Feb 20, 2025
1 parent 3e03f86 commit affb0b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/windmill-worker/src/python_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ impl PyVersion {
.env_clear()
.env("HOME", HOME_ENV.to_string())
.env("PATH", PATH_ENV.to_string())
.envs(PROXY_ENVS.clone())
.args(["python", "install", v, "--python-preference=only-managed"])
// TODO: Do we need these?
.envs([("UV_PYTHON_INSTALL_DIR", PY_INSTALL_DIR)])
Expand Down

0 comments on commit affb0b4

Please sign in to comment.