Skip to content

Replace PyYAML with ruamel.yaml in test_common_io.py#1418

Merged
rly merged 1 commit intodevfrom
fix/replace-pyyaml-with-ruamel-yaml
Mar 5, 2026
Merged

Replace PyYAML with ruamel.yaml in test_common_io.py#1418
rly merged 1 commit intodevfrom
fix/replace-pyyaml-with-ruamel-yaml

Conversation

@rly
Copy link
Contributor

@rly rly commented Mar 5, 2026

Fixes #1417. Unblocks conda-forge/hdmf-feedstock#102.

🤖 Generated with Claude Code

Fix ModuleNotFoundError in conda environments where h5py does not
transitively depend on pyyaml, unlike pip. Use ruamel.yaml (already a
core dependency) consistent with the rest of the codebase.

Fixes #1417

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rly rly requested a review from oruebel March 5, 2026 17:07
@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.85%. Comparing base (ef5b390) to head (4e62d50).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1418   +/-   ##
=======================================
  Coverage   92.85%   92.85%           
=======================================
  Files          41       41           
  Lines        9989     9989           
  Branches     2054     2054           
=======================================
  Hits         9275     9275           
  Misses        436      436           
  Partials      278      278           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rly
Copy link
Contributor Author

rly commented Mar 5, 2026

Optional requirements and HDMF-Zarr tests are failing until pynwb adds support for HDMF 5

@rly rly merged commit 0897b93 into dev Mar 5, 2026
22 of 28 checks passed
@rly rly deleted the fix/replace-pyyaml-with-ruamel-yaml branch March 5, 2026 19:13
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.

Replace PyYAML import with ruamel.yaml in test_common_io.py

2 participants