Skip to content

Commit

Permalink
fix: pyyaml dependency for python version older than 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hfudev committed Nov 13, 2023
1 parent 7b975bb commit 732faa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-build-idf-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
rm $(which python3)
echo "urllib3<1.25,>=1.21.1" >> $IDF_PATH/requirements.txt
sed -i 's/idf-component-manager~=1.0/idf-component-manager<1.3/g' $IDF_PATH/requirements.txt
pip install -U pip
bash $IDF_PATH/install.sh
. $IDF_PATH/export.sh
pip install idf_build_apps-*-py2.py3-none-any.whl
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ dependencies = [
"pathlib; python_version < '3.4'",
"glob2; python_version < '3.5'",
"pyparsing",
"pyyaml",
"pyyaml>=5.3; python_version >= '3.5'",
"pyyaml<5.3; python_version < '3.5'",
"packaging",
"toml; python_version < '3.11'",
]
Expand Down

0 comments on commit 732faa5

Please sign in to comment.