Skip to content

Commit 99c086e

Browse files
authored
Increase subprocess timeout for installations
1 parent df26f48 commit 99c086e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builder/penv_setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def install_python_deps(python_exe, external_uv_executable):
223223
[external_uv_executable, "pip", "install", "uv>=0.1.0", f"--python={python_exe}", "--quiet"],
224224
stdout=subprocess.DEVNULL,
225225
stderr=subprocess.STDOUT,
226-
timeout=120
226+
timeout=300
227227
)
228228
except subprocess.CalledProcessError as e:
229229
print(f"Error: uv installation failed with exit code {e.returncode}")
@@ -244,7 +244,7 @@ def install_python_deps(python_exe, external_uv_executable):
244244
[python_exe, "-m", "pip", "install", "uv>=0.1.0", "--quiet"],
245245
stdout=subprocess.DEVNULL,
246246
stderr=subprocess.STDOUT,
247-
timeout=120
247+
timeout=300
248248
)
249249
except subprocess.CalledProcessError as e:
250250
print(f"Error: uv installation via pip failed with exit code {e.returncode}")
@@ -275,7 +275,7 @@ def _get_installed_uv_packages():
275275
capture_output=True,
276276
text=True,
277277
encoding='utf-8',
278-
timeout=120
278+
timeout=300
279279
)
280280

281281
if result_obj.returncode == 0:
@@ -323,7 +323,7 @@ def _get_installed_uv_packages():
323323
cmd,
324324
stdout=subprocess.DEVNULL,
325325
stderr=subprocess.STDOUT,
326-
timeout=120
326+
timeout=300
327327
)
328328

329329
except subprocess.CalledProcessError as e:

0 commit comments

Comments
 (0)