From 96d1926da4987f0313bae5abd2dcff52f94c8616 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 9 Jun 2020 23:25:42 -0400 Subject: [PATCH] upgrad pyyaml --- lbry/conf.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/conf.py b/lbry/conf.py index 0c2d01252..7b81e528e 100644 --- a/lbry/conf.py +++ b/lbry/conf.py @@ -325,7 +325,7 @@ class ConfigFileAccess: cls = type(self.configuration) with open(self.path, 'r') as config_file: raw = config_file.read() - serialized = yaml.load(raw) or {} + serialized = yaml.full_load(raw) or {} for key, value in serialized.items(): attr = getattr(cls, key, None) if attr is None: diff --git a/setup.py b/setup.py index 08de22be3..462e30fc3 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ setup( 'msgpack==0.6.1', 'prometheus_client==0.7.1', 'ecdsa==0.13.3', - 'pyyaml==4.2b1', + 'pyyaml==5.3.1', 'docopt==0.6.2', 'hachoir', 'multidict==4.6.1',