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

yaml.dump has been removed #606

Closed
the-confessor opened this issue Jan 7, 2024 · 1 comment
Closed

yaml.dump has been removed #606

the-confessor opened this issue Jan 7, 2024 · 1 comment

Comments

@the-confessor
Copy link

Lately result/logger.py's has been failing creating the rip log. Looks like there has been a breaking API change in ruamel.yaml.

 File "/usr/lib/python3.11/site-packages/whipper/result/logger.py", line 152, in logRip
    riplog = yaml.dump(
             ^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ruamel/yaml/main.py", line 1251, in dump
    error_deprecation('dump', 'dump', arg="typ='unsafe', pure=True")
  File "/usr/lib/python3.11/site-packages/ruamel/yaml/main.py", line 1039, in error_deprecation
    raise AttributeError(s, name=None)
AttributeError: 
"dump()" has been removed, use

  yaml = YAML(typ='unsafe', pure=True)
  yaml.dump(...)

instead of file "/usr/lib/python3.11/site-packages/whipper/result/logger.py", line 152
@MerlijnWajer
Copy link
Collaborator

See #605

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

2 participants