The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(pm): _toolchain hands callers the ordinary spelling of uv and Python
alt-glitch8d7d6334b0a0
diff --git a/pm/_uv.py b/pm/_uv.pyindex b70477463e6..a5ec8429d06 100644--- a/pm/_uv.py+++ b/pm/_uv.py@@ -4,7 +4,7 @@ from __future__ import annotationsfrom pathlib import Pathfrom pm import paths-from pm.filesystem import long_root+from pm.filesystem import long_root, nativefrom pm.lock import Factsfrom pm.package import InstallErrorfrom pm.registry import get_package@@ -57,4 +57,5 @@ def _toolchain(*, realize: bool = True, explicit: bool = False) -> tuple[Path, Preturn Noneraise InstallError(name, "installed binary is missing", "run `hermes pm install`")binaries[name] = binary- return binaries["uv"], binaries["python"]+ # Callers execute and compare these outside PM's own file calls: the ordinary spelling, not the store's.+ return Path(native(binaries["uv"])), Path(native(binaries["python"]))