eabglobal / juniper

Juniper is a cli based tool used to package lambda functions
Apache License 2.0
67 stars 9 forks source link

Fix yaml.load warning #26

Closed pdiazvargas closed 5 years ago

pdiazvargas commented 5 years ago

Current

When using juniper to build my lambda functions, right now I see the following warning:

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

Juniper is using PyYAML library to load the manifest file and it's using a function that needs a new requirement.

Expected

I should not get this warning from the PyYAML dependency when building my lambda functions.