Upgrade PyYAML to >=5.1

This commit is contained in:
Vangelis Banos 2019-03-21 19:34:52 +00:00
parent 878ab0977f
commit 436a27b19e
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ deps = [
'PySocks>=1.6.8',
'cryptography>=2.3',
'idna>=2.5',
'PyYAML<=3.13',
'PyYAML>=5.1',
]
try:
import concurrent.futures

View File

@ -309,7 +309,7 @@ def main(argv=None):
if args.logging_conf_file:
with open(args.logging_conf_file, 'r') as fd:
conf = yaml.load(fd)
conf = yaml.safe_load(fd)
logging.config.dictConfig(conf)
# see https://github.com/pyca/cryptography/issues/2911