Skip to content

Explicitly use unsafe PyYAML loader

Lukas Riedel requested to merge fix-yaml-load into master

What does this MR do?

Provide a hotfix after PyYAML 5.2 has been released.

The regular loader does not include constructors for object tags anymore. We therefore have to use the unsafe_load() explicitly when loading the YAML file containg the objects for the default config file.

Is there something that needs to be double checked?

No

Can this MR be accepted?

  • Applied hotfix
  • Added/Updated documentation
  • Pipeline passing
  • Squash option set
  • Delete branch option set
  • Added entry to CHANGELOG.md

Assignee: If the Squash option is set, check/update the commit message right before merging!

Related issues

Edited by Lukas Riedel

Merge request reports