Skip to content

Fix cwl-normalizer broken on ruamel.yaml 0.18+#419

Merged
mr-c merged 1 commit into
mainfrom
fix-normalizer-ruamel-018
May 11, 2026
Merged

Fix cwl-normalizer broken on ruamel.yaml 0.18+#419
mr-c merged 1 commit into
mainfrom
fix-normalizer-ruamel-018

Conversation

@jmchilton
Copy link
Copy Markdown
Contributor

yaml.main.round_trip_load was removed in ruamel.yaml 0.18; use the YAML() instance API. Also restore the yaml.dump before pack() that was lost when cwltool deps were stripped (cf33726), and JSON-serialize the packed dict on write. Add a v1.1 regression test.

yaml.main.round_trip_load was removed in ruamel.yaml 0.18; use the
YAML() instance API. Also restore the yaml.dump before pack() that was
lost when cwltool deps were stripped (cf33726), and JSON-serialize the
packed dict on write. Add a v1.1 regression test.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.65%. Comparing base (914b438) to head (5eb0c68).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
+ Coverage   37.15%   37.65%   +0.50%     
==========================================
  Files          47       48       +1     
  Lines       36680    36693      +13     
  Branches     9529     9529              
==========================================
+ Hits        13627    13817     +190     
+ Misses      20171    19942     -229     
- Partials     2882     2934      +52     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@mr-c mr-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mr-c mr-c merged commit e2b2a2f into main May 11, 2026
30 checks passed
@mr-c mr-c deleted the fix-normalizer-ruamel-018 branch May 11, 2026 21:26
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.

2 participants