Skip to content

Commit 733cebc

Browse files
authored
Install h5py in Versioning job for TRO regen (#285)
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.
1 parent 2f2f608 commit 733cebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: Preview changelog update
119119
run: ".github/get-changelog-diff.sh"
120120
- name: Install package for TRO regeneration
121-
run: pip install -e .
121+
run: pip install -e . h5py
122122
- name: Regenerate bundled TRACE TROs
123123
env:
124124
HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}

0 commit comments

Comments
 (0)