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.load() deprecation warning after updating to pyyaml v5.1 (released 13/03/19) #4597

Closed
olly-writes-code opened this issue Mar 14, 2019 · 2 comments

Comments

@olly-writes-code
Copy link

olly-writes-code commented Mar 14, 2019

Very small issue. Wanted to flag early. Just updated to the lastest version of pyyaml (a dependency of dask) v5.1. After updating I get the following deprecation warning.

/dask/config.py:168: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  data = yaml.load(f.read()) or {}
@olly-writes-code olly-writes-code changed the title yaml.load() deprecation warning after updating to pyyaml v5.1 (released yesterday) yaml.load() deprecation warning after updating to pyyaml v5.1 (released 13/03/19) Mar 14, 2019
@TomAugspurger
Copy link
Member

TomAugspurger commented Mar 14, 2019 via email

@jakirkham
Copy link
Member

For context, this changed in PR ( yaml/pyyaml#257 ).

Note: While that PR appears closed, it was merged into specific commits noted at the bottom of the PR.

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

3 participants