Skip to content

Commit

Permalink
Merge pull request #259 from fiaas/pyyaml6
Browse files Browse the repository at this point in the history
Update pyyaml to 6.0.2
  • Loading branch information
oyvindio authored Oct 15, 2024
2 parents 337bcf0 + 9914153 commit d3c8d3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/yaml_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def process_file(editor, filepath):
yaml = YAML()
yaml.preserve_quotes = True
with open(filepath) as fobj:
data = yaml.load(fobj)
data = yaml.safe_load(fobj)
try:
data = editor.edit(data)
except KeyError:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ requires-python = ">= 3.12"
dependencies = [
"ConfigArgParse == 0.14.0",
"prometheus_client == 0.7.1",
"PyYAML == 5.1.2",
"PyYAML == 6.0.2",
"pyaml == 19.4.1",
"pinject == 0.14.1",
"decorator < 5.0.0", # 5.0.0 and later drops py2 support (transitive dep from pinject)
Expand Down

0 comments on commit d3c8d3c

Please sign in to comment.