Skip to content

Commit 6c99572

Browse files
committed
feat(CI): add PIP constraint file.
1 parent ac8b38b commit 6c99572

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
name: Install Python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: 3.10
29+
python-version: 3.9
3030
cache: pip
3131
-
3232
name: Install Python requirements
33-
run: pip install -r requirements.txt
33+
run: PIP_CONSTRAINT=constraints.txt pip install -r requirements.txt
3434
-
3535
name: Install RISC-V GCC toolchain
3636
uses: pulp-platform/pulp-actions/riscv-gcc-install@v2.4.1

constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setuptools<82

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ mkdocs
88
mkdocs-material
99
markdown-grid-tables
1010
tclint==0.4.2
11-
flatdict==4.1.0
11+
flatdict

0 commit comments

Comments
 (0)