Skip to content

Add h5py to the Lambda requirements - #7

Merged
billmj merged 1 commit into
mainfrom
fix/pin-h5py
Oct 31, 2026
Merged

billmj merged 1 commit into
mainfrom
fix/pin-h5py

Conversation

@billmj

@billmj billmj commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

The dev extractor Lambdas have been failing since the Oct 9 rebuild:

Runtime.ImportModuleError: Unable to import module 'extract-slice-data': No module named 'h5py'

h5netcdf 1.8 (Jan 2026) moved h5py to an optional extra, and the requirements are unpinned, so the rebuilt images dropped it. All three handlers import h5py directly. Adding it explicitly to each requirements.txt.

Prod is on the May image and still works; it would hit the same thing on its next build, so this should go to prod too.

h5netcdf 1.8 made h5py an optional extra, so a fresh image build no
longer pulls it in and the handlers fail at import. The dev images
rebuilt on Oct 9 hit this. Prod still runs the May build.
@billmj
billmj merged commit 213dc23 into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant