The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(update): isolate pip install from third-party UV env vars
suntech-wang08f5a0a98ba5
diff --git a/hermes_cli/update_cmd.py b/hermes_cli/update_cmd.pyindex 8997f03508b..3bb13283b64 100644--- a/hermes_cli/update_cmd.py+++ b/hermes_cli/update_cmd.py@@ -6638,7 +6638,11 @@ def _cmd_update_impl(args, gateway_mode: bool):install_group = "all"if uv_bin:- uv_env = {**os.environ, "VIRTUAL_ENV": str(_m().PROJECT_ROOT / "venv")}+ # 2026-08-11 patch: use official managed_python_env() isolation so+ # third-party UV_PYTHON_INSTALL_DIR (WorkBuddy) cannot hijack uv;+ # then point VIRTUAL_ENV at this install's venv.+ uv_env = managed_python_env()+ uv_env["VIRTUAL_ENV"] = str(_m().PROJECT_ROOT / "venv")if _m()._is_termux_env(uv_env):uv_env.pop("PYTHONPATH", None)uv_env.pop("PYTHONHOME", None)