hb-config icon indicating copy to clipboard operation
hb-config copied to clipboard

PyYAML yaml.load(input) Deprecation

Open mike-sino opened this issue 5 years ago • 0 comments

I used hb-config in python3.7 environment and got the following errors:

/opt/conda/lib/python3.7/site-packages/hbconfig/__init__.py:66: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return yaml.load(config)

and I checked PyYAML and found that it has been changed to the following format:

yaml.load(input, Loader=yaml.FullLoader)

Hoping you can upload the code.

Many thanks!

mike-sino avatar Nov 28 '19 05:11 mike-sino