Can anyone help with the reason why this is happening?
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details
.
logging.config.dictConfig(yaml.load(open('logging.yml', 'r')))
Warnings are not Errors. It's just telling you that you're using a function of YAML that will be removed in a future update and that function will not work if you update, so if someone is using a newer YAML version it will not work.
The link you referred to talks about that exactly, how to solve it and how to get rid of it.