The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: better install logs
ethernet3c3f6d968871
diff --git a/pm/runtime.py b/pm/runtime.pyindex 635500c1a27..ce5fdb9a4c5 100644--- a/pm/runtime.py+++ b/pm/runtime.py@@ -135,7 +135,7 @@ def prepare_runtime(uv: Path, python: Path, root: Path, *, offline: bool = Falsegeneration = Path("generations") / uuid.uuid4().hexenvironment = root / generationtry:- print("Preparing the isolated PM runtime…", file=sys.stderr, flush=True)+ print("Preparing the isolated Hermes runtime…", file=sys.stderr, flush=True)executable = stage_runtime(uv, python, environment, project=project, offline=offline, cache=cache)(environment / ".lease-managed").touch()_write(environment / "pm-runtime.json", {"inputs": identity})diff --git a/tests/pm/test_activation_setup.py b/tests/pm/test_activation_setup.pyindex 8bb02029246..515383cfd47 100644--- a/tests/pm/test_activation_setup.py+++ b/tests/pm/test_activation_setup.py@@ -206,7 +206,7 @@ test "${PYTHONPATH-}" = "$prior_pythonpath" || exit 96assert Path(probe["module"]).is_relative_to(Path(first["environment"]))assert probe["pythonpath"].split(os.pathsep)[0] == str(core)# Cold activation builds both PM's isolated runtime and the app environment.- assert "Preparing the isolated PM runtime" in cold.stderr+ assert "Preparing the isolated Hermes runtime" in cold.stderrassert len(app_syncs()) == 1facts = json.loads((runtime / "facts.json").read_text())["packages"]assert facts["python"]["artifacts"] == [first_digest]diff --git a/tests/pm/test_cold_runtime_e2e.py b/tests/pm/test_cold_runtime_e2e.pyindex 7b6774b0cda..5f99e1b19d7 100644--- a/tests/pm/test_cold_runtime_e2e.py+++ b/tests/pm/test_cold_runtime_e2e.py@@ -167,7 +167,7 @@ assert importlib.util.find_spec('idna') is Noneassert not (hermes_home / "installs").exists()result = _bare(bootstrap_python, repo, bootstrap + cli.format(action="install"), env=env)assert "✓ venv" in result.stdout- assert "Preparing the isolated PM runtime" in result.stderr+ assert "Preparing the isolated Hermes runtime" in result.stderrif bootstrap_name:# The installed launcher still starts on the old interpreter after# a source swap. Completion must re-exec before importing the app.diff --git a/tests/pm/test_runtime_bootstrap_tls.py b/tests/pm/test_runtime_bootstrap_tls.pyindex 89c0c31ffd5..9d1f850fe2c 100644--- a/tests/pm/test_runtime_bootstrap_tls.py+++ b/tests/pm/test_runtime_bootstrap_tls.py@@ -56,11 +56,11 @@ print(result.stdout)result = subprocess.run(command, cwd=tmp_path, env=env, capture_output=True, text=True, timeout=180)assert result.returncode == 0, result.stdout + result.stderrassert Path(json.loads(result.stdout)["tls"]).is_relative_to(home)- assert "Preparing the isolated PM runtime" in result.stderr+ assert "Preparing the isolated Hermes runtime" in result.stderrassert "must-not-fetch.invalid" not in result.stderrwarm = subprocess.run(command, cwd=tmp_path, env=env, capture_output=True, text=True, timeout=30)assert warm.returncode == 0, warm.stdout + warm.stderr- assert "Preparing the isolated PM runtime" not in warm.stderr+ assert "Preparing the isolated Hermes runtime" not in warm.stderrassert warm.stdout == result.stdoutassert not (store / "facts.json").exists(), "preparing PM must not realize its tool closure"assert not list(store.glob("python-*"))