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

PyYAML yaml.load(input) Deprecation #207

Closed
hainingpan opened this issue Aug 23, 2019 · 2 comments
Closed

PyYAML yaml.load(input) Deprecation #207

hainingpan opened this issue Aug 23, 2019 · 2 comments
Labels

Comments

@hainingpan
Copy link

It seems that some packages are deprecated now, here is the warning I received:

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 {}

@akhmerov
Copy link
Contributor

Hm, I'm not sure where we're using yaml, can you provide the full traceback please?

@hainingpan
Copy link
Author

Okay, after update conda, it seems the warning goes away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants