-
Notifications
You must be signed in to change notification settings - Fork 201
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
YAMLLoadWarning: calling yaml.load() without Loader= #179
Comments
What are the steps to reproduce this? |
this error appeared after container start. I see this problem on pryorda/vmware_exporter:v0.11.1 |
Try to load a config.yaml:
|
There is something (of course) to do with PyYAML version. Inside the container, PyYAML is 5.3, and here in my CentOS 8, it is 3.12 where the error does not happen. |
I made a PR replacing yamlconfig for PyYAML. |
* Fix to issue #179: removing yamlconfig, and using PyYAML itself instead
@dreiggy I believe it is solved. You may close this issue. |
@rmontenegroo sure :) |
Hi,
I got warning about deprecated and unsafe load:
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
The text was updated successfully, but these errors were encountered: