mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Upgrade PyYAML to >=5.1
This commit is contained in:
parent
878ab0977f
commit
436a27b19e
2
setup.py
2
setup.py
@ -33,7 +33,7 @@ deps = [
|
|||||||
'PySocks>=1.6.8',
|
'PySocks>=1.6.8',
|
||||||
'cryptography>=2.3',
|
'cryptography>=2.3',
|
||||||
'idna>=2.5',
|
'idna>=2.5',
|
||||||
'PyYAML<=3.13',
|
'PyYAML>=5.1',
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
import concurrent.futures
|
import concurrent.futures
|
||||||
|
@ -309,7 +309,7 @@ def main(argv=None):
|
|||||||
|
|
||||||
if args.logging_conf_file:
|
if args.logging_conf_file:
|
||||||
with open(args.logging_conf_file, 'r') as fd:
|
with open(args.logging_conf_file, 'r') as fd:
|
||||||
conf = yaml.load(fd)
|
conf = yaml.safe_load(fd)
|
||||||
logging.config.dictConfig(conf)
|
logging.config.dictConfig(conf)
|
||||||
|
|
||||||
# see https://github.com/pyca/cryptography/issues/2911
|
# see https://github.com/pyca/cryptography/issues/2911
|
||||||
|
Loading…
x
Reference in New Issue
Block a user