From ee64b751eab809dbe1c125e23f866d88c5395f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Vestergaard=20V=C3=A6rum?= Date: Mon, 19 Apr 2021 13:50:00 +0200 Subject: [PATCH] Bunped lib use in the generator, because I got errors when pip tried to install them. Also fixed dependency warning --- etc/bin/mako-render | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/bin/mako-render b/etc/bin/mako-render index 69d6ceddbc..99a6eb342b 100644 --- a/etc/bin/mako-render +++ b/etc/bin/mako-render @@ -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) diff --git a/requirements.txt b/requirements.txt index e1a033162b..446991c6bd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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