Skip to content

Commit

Permalink
bump PyYAML to 5.1 for CVE-2017-18342 (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtkav authored and jmcs committed Mar 15, 2019
1 parent 08e4536 commit d3d1836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connexion/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ def ignore_aliases(self, *args):
# Dump long lines as "|".
yaml.representer.SafeRepresenter.represent_scalar = my_represent_scalar

return yaml.dump(openapi, default_flow_style=False, allow_unicode=True, Dumper=NoAnchorDumper)
return yaml.dump(openapi, allow_unicode=True, Dumper=NoAnchorDumper)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def read_version(package):
install_requires = [
'clickclick>=1.2',
'jsonschema>=2.5.1,<3.0.0',
'PyYAML>=3.13',
'PyYAML>=5.1',
'requests>=2.9.1',
'six>=1.9',
'inflection>=0.3.1',
Expand Down

0 comments on commit d3d1836

Please sign in to comment.