Bunped lib use in the generator, because I got errors when pip tried to install them. Also fixed dependency warning

This commit is contained in:
Dennis Vestergaard Værum
2021-04-19 13:50:00 +02:00
parent 823b1a270a
commit ee64b751ea
2 changed files with 3 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ def load_data(datafiles):
if not imported_yaml:
import yaml
imported_yaml = True
data = yaml.load_all(open(filename, 'r'))
data = yaml.load_all(open(filename, 'r'), Loader=yaml.loader.FullLoader)
data = list(data)[0]
else:
raise ValueError("Invalid data-file '%s', must be .json, .yaml or .yml" % filename)

View File

@@ -1,6 +1,6 @@
mako==1.1.3
mako==1.1.4
pyyaml
mkdocs==0.11
mkdocs==1.1.2
pytest
pytest-cov
importlib_resources