From 4cdbba7fae758eeeddf710be97b3df4a53d3dcf7 Mon Sep 17 00:00:00 2001 From: James Wiesebron Date: Wed, 29 Apr 2026 14:02:18 -0700 Subject: [PATCH] Install pyyaml in action composite for host Python orchestration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #2279 added actions/setup-python@v5 to pin host Python to 3.14, but setup-python provides a clean interpreter without project deps. The orchestration command python3 -c "from egg_lib.gha_exec import gha_exec; ..." transitively imports shared/egg_config/config.py, which `import yaml`s and exits with "PyYAML is required" when the module is missing. Add a minimal `pip install pyyaml` step after setup-python. PyYAML is the only non-stdlib dep on the gha_exec → egg_config import path (verified by walking imports across egg_lib + egg_config), so we don't need the heavier `uv sync --extra dev` pattern used in test/lint workflows. --- action/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action/action.yml b/action/action.yml index ad380c40ac..81ddadc8db 100644 --- a/action/action.yml +++ b/action/action.yml @@ -86,6 +86,10 @@ runs: with: python-version: "3.14" + - name: Install Python orchestration dependencies + shell: bash + run: python3 -m pip install --disable-pip-version-check pyyaml + - name: Run egg id: run shell: bash