-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Summary
tests/unit/common/test_common_io.py uses import yaml (PyYAML), but pyyaml is not a declared dependency of hdmf. The import works in pip-based environments because pip's h5py wheel transitively depends on pyyaml, but conda's h5py package does not have this transitive dependency, causing:
ModuleNotFoundError: No module named 'yaml'
This is blocking the conda-forge feedstock release: conda-forge/hdmf-feedstock#102
Fix
Replace import yaml / yaml.safe_load() with ruamel.yaml, which is already a declared core dependency and used throughout the codebase for YAML loading.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels