From bc9158cb5bb8fb7b51360cd44b95ee315311db04 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 18 Apr 2026 12:45:54 -0400 Subject: [PATCH] Install h5py in Versioning job for TRO regen scripts/generate_trace_tros.py imports policyengine.core.release_manifest, which transitively imports policyengine.core.scoping_strategy which imports h5py. The Versioning job runs on a bare runner with only `pip install -e .`, which doesn't include h5py (it's normally brought in via the [us]/[uk]/[dev] extras). Add h5py to the install line so the TRO regeneration step can import the module chain. --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index dc70f233..11cd2d74 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -118,7 +118,7 @@ jobs: - name: Preview changelog update run: ".github/get-changelog-diff.sh" - name: Install package for TRO regeneration - run: pip install -e . + run: pip install -e . h5py - name: Regenerate bundled TRACE TROs env: HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}