mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-29 11:42:04 +00:00
fix(update): avoid source-building uv on Termux
This commit is contained in:
parent
6e88f7b6f7
commit
3e508363f7
2 changed files with 37 additions and 1 deletions
|
|
@ -7736,7 +7736,13 @@ def _ensure_uv_for_termux(pip_cmd: list[str]) -> str | None:
|
|||
return None
|
||||
try:
|
||||
print(" → Termux detected: trying to install uv for faster dependency updates...")
|
||||
subprocess.run(pip_cmd + ["install", "uv"], cwd=PROJECT_ROOT, check=False)
|
||||
result = subprocess.run(
|
||||
pip_cmd + ["install", "uv", "--only-binary", ":all:"],
|
||||
cwd=PROJECT_ROOT,
|
||||
check=False,
|
||||
)
|
||||
if result.returncode != 0:
|
||||
return None
|
||||
except Exception:
|
||||
pass
|
||||
# After pip install, check managed path first, then PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue