From d0ab4c2c1f120b6540104021b6f449ae6f6a5ee1 Mon Sep 17 00:00:00 2001 From: Owen Price Skelly <21372141+OwenPriceSkelly@users.noreply.github.com> Date: Fri, 11 Sep 2026 12:25:50 -0500 Subject: [PATCH] hog run: bootstrap a driver environment from the script's PEP 723 header `hog run` imports the script in-process, so a harness (or anything defined at module level, e.g. a class subclassing a third-party base) needs its imports available locally, not just on the endpoint. Until now the header only described the remote environment and users had to reinstall `hog` with extra packages or repeat the dependency list on the command line. Now, when the current interpreter does not satisfy requires-python or any entry in dependencies is not installed, `hog run` re-executes itself as uv run --no-project --python --with --with ... [--exclude-newer/--index-url/--extra-index-url] hog run