Skip to content

Use ruamel-yaml v0.18.7+ syntax #543

@matthewfeickert

Description

@matthewfeickert

PR #542 demonstrated that starting in ruamel-yaml v0.18.7 there is a SemVer and API breaking change that raises

ruamel.yaml.composer.ComposerError: found undefined alias 'DEF_query'

which as of shows up in d329059

$ git grep "DEF_query"
docs/yaml.md:14:  - &DEF_query !PythonFunction |
docs/yaml.md:20:    Query: *DEF_query
docs/yaml.md:34:    Query: *DEF_query
docs/yaml.md:39:- &DEF_query !PythonFunction |
tests/test_databinder.py:549:- &DEF_query !PythonFunction |
tests/test_databinder.py:564:    Query: *DEF_query

(c.f. #540 (comment) for a full example)

I don't know anything about ruaeml-yaml, so I'm not sure how obvious of an issue and fix there is, but as it is an API breaking change I'm going to assume that it will need

"ruamel.yaml>=0.18",

to get updated to

"ruamel.yaml>=0.18.7"

with the fix.

cc @ponyisi @BenGalewsky as I think they are the most familiar with the ruaeml-yaml project(?). Maybe also @kyungeonchoi as this bug showed up in the DataBinder tests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions