Skip to content

Commit

Permalink
Merge pull request #67 from zbrookle/fix_pyaml_dep_security_vulnerabi…
Browse files Browse the repository at this point in the history
…lity
  • Loading branch information
zbrookle authored Mar 12, 2021
2 parents 4cf13fb + 81165cc commit c149e43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avionix/tests/test_values_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_config_map_data():
if not match:
raise Exception("Match must exist to get config map data!")
data_string = match.group("data").replace("----\n", "").replace(":\n", ": ")
data = yaml.load(data_string)
data = yaml.safe_load(data_string)
return data


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyyaml==5.3.1
pyyaml>=5.4
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def read_file(filename):
description="A package for soldifying kubernetes structure and development by "
"using objects and code rather than yaml",
python_requires=">=3.6.1",
install_requires=["pyyaml >=5.3, <5.4"],
install_requires=["pyyaml >=5.4"],
project_urls={
"Source Code": "https://github.com/zbrookle/avionix",
"Documentation": "https://github.com/zbrookle/avionix",
Expand Down

0 comments on commit c149e43

Please sign in to comment.