Skip to content

Commit

Permalink
scripts: dts: update pyyaml version
Browse files Browse the repository at this point in the history
The currently used PyYaml version has some vulnerabilies as
described on the pull request description. It updates to
version 6.0, removing these supply chain vulnerabily.
The OSSF Scorecard was the tool used for discovering
 these vulnerabilties.

Signed-off-by: Javan lacerda <[email protected]>
  • Loading branch information
javanlacerda authored and nashif committed Mar 29, 2024
1 parent fe5313f commit dbfc1aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sphinx-copybutton
sphinx-togglebutton

# YAML validation. Used by zephyr_module.
PyYAML>=5.1
PyYAML>=6.0
pykwalify

# Used by pytest-twister-harness plugin
Expand Down
2 changes: 1 addition & 1 deletion scripts/dts/python-devicetree/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'Operating System :: Microsoft :: Windows',
],
install_requires=[
'PyYAML>=5.1',
'PyYAML>=6.0',
],
python_requires='>=3.6',
)
2 changes: 1 addition & 1 deletion scripts/requirements-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pyelftools>=0.27

# used by dts generation to parse binding YAMLs, also used by
# twister to parse YAMLs, by west, zephyr_module,...
PyYAML>=5.1
PyYAML>=6.0

# YAML validation. Used by zephyr_module.
pykwalify
Expand Down

0 comments on commit dbfc1aa

Please sign in to comment.