Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rueml_yaml package - deprecated #75

Closed
lwasser opened this issue Dec 14, 2023 · 0 comments
Closed

rueml_yaml package - deprecated #75

lwasser opened this issue Dec 14, 2023 · 0 comments

Comments

@lwasser
Copy link
Member

lwasser commented Dec 14, 2023

Our current workflow to update contribs is broken due to deprecated functionality in the rueml-yaml package.

the error is

https://github.com/pyOpenSci/pyopensci.github.io/actions/runs/7054535271/job/19203553994#step:5:91

"safe_load()" has been removed, use

  yaml = YAML(typ='safe', pure=True)
  yaml.load(...)

instead of file "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/pyosmeta/file_io.py", line 76

            return ruamel.yaml.safe_load(f)

this seems like a quick fix but it could be worth considering switching to the yaml standard lib that comes with Python rather than calling a dependency.

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

No branches or pull requests

1 participant