Skip to content

Commit 50eef90

Browse files
CI PXT: Restrict Yotta dependencies as workaround to pip install errors. (#288)
1 parent a3fc15b commit 50eef90

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/makecode.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ jobs:
2727
release: 10.3-2021.10
2828
- name: Install Yotta, Ninja v1.10 & CMake v3.22 via PyPI
2929
if: ${{ matrix.pxt-flags }}
30-
# MarkupSafe < 2.0 needed for Yotta
31-
run: python -m pip install MarkupSafe==1.1.1 ninja==1.10.2.2 cmake==3.22.1 yotta
30+
run: |
31+
# Newer pip needed to install newer wheels type for cmsis-pack-manager
32+
python -m pip install --upgrade pip
33+
# project-generator==0.8.17 and MarkupSafe < 2.0 needed for Yotta
34+
python -m pip install project-generator==0.8.17 MarkupSafe==1.1.1
35+
python -m pip install ninja==1.10.2.2 cmake==3.22.1 yotta
3236
- name: Install srecord
3337
if: ${{ matrix.pxt-flags }}
3438
run: |

0 commit comments

Comments
 (0)