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 5.1 warning #66

Closed
andypiper opened this issue Mar 18, 2019 · 2 comments
Closed

PyYAML 5.1 warning #66

andypiper opened this issue Mar 18, 2019 · 2 comments

Comments

@andypiper
Copy link
Contributor

Currently, running searchtweets against the latest PyYAML release results in a warning on loading the configuration file:

credentials.py:34: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

More information in this issue.

This is a minor / low priority fix, as the syntax is currently only deprecated, and the code will still work despite the warning being issued.

@jrmontag
Copy link
Collaborator

jrmontag commented Mar 19, 2019

Thanks for reporting, @andypiper.

@fionapigott
Copy link
Contributor

Seems fixed by using safe_loader, #68

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