andresbott / ansible-autodoc

ansible-autodoc generates documentation from annotated Ansible Playbooks and Roles.
GNU Lesser General Public License v3.0
46 stars 26 forks source link

Deprecation warning for YAMLLoad #2

Closed xoxys closed 4 years ago

xoxys commented 5 years ago

Hi,

there is a deprecation warning

Annotation.py:275: 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(yaml_file)

running Python 3.7.3 on Fedora.

alexis-renard commented 4 years ago

Hey, why is this issue closed ? Still have this on Ubuntu 18.04, python3.6.9. Seems to have a pull request available here, but it is not merget yet. Almost there !

xoxys commented 4 years ago

@alexis-renard I've closed the issue because I got no reaction so far. That's why I've decided to fork this project to ansible-doctor and slightly modify it to fit my needs.

Feel free to give it a try, would be happy to get feedback.

alexis-renard commented 4 years ago

Ahah, I forked it earlier on to do so as well. Will check out your repo, thanks a lot @xoxys ! Kind of sad that this one is not maintained anymore tho. :disappointed:

xoxys commented 4 years ago

Totally agree but I needed a solution and had to go forward :relaxed: