Use upstream ruamel.yaml instead of ruamel_yaml #435
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I'm currently looking at what packages on conda-forge have a dependency on the non-maintained
ruamel_yaml
package.It'd be good if we could have this package depend on
ruamel.yaml
instead ofruamel_yaml
, too.NB: The latest
conda-forge::ruamel_yaml
is still at version0.15.80
-- upstream released that version 5 years ago.Conda-forge will stop (re-)building (the severly outdated)
ruamel_yaml
package;tracking issue: conda-forge/ruamel_yaml-feedstock#107
xref: conda-forge/faunus-feedstock#42
This should also add compatibility for ruamel.yaml=0.18.
ruamel.yaml=0.18 removed the top-level load, dump, etc. functions.
For details see https://pypi.org/project/ruamel.yaml/0.18.4/ .
As indicated in the incomplete checklist below, the changes have unfortunately, not been tested by myself.
Feel free to
cherry-pick
these changes or push to this PR's branch directly (Allow edits by maintainers
is enabled) if changes are needed.Checklist
make test
passes with no errorsthe source code is well documented
new functionality includes unittests
the user-manual has been updated to reflect the changes
I have installed the provided commit hook to auto-format commits (requires
clang-format
):code naming scheme follows the convention:
PascalCase
camelCase
snake_case