Skip to content

Commit 4aea7f8

Browse files
committed
Add requirements-dev.txt for python deps
1 parent 5d2b60c commit 4aea7f8

File tree

5 files changed

+39
-6
lines changed

5 files changed

+39
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
sudo apt-get update
3939
sudo apt-get install -y eatmydata
4040
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64 latexmk texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
41-
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort black awscli mypy
41+
pip install -r requirements-dev.txt
4242
- name: Versions
4343
run: |
4444
gcc --version
@@ -356,7 +356,7 @@ jobs:
356356
- name: Install deps
357357
run: |
358358
sudo apt-get install -y gettext
359-
pip install requests sh click setuptools awscli
359+
pip install -r requirements-dev.txt
360360
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
361361
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
362362
- name: Versions
@@ -497,7 +497,7 @@ jobs:
497497
- name: Install CircuitPython deps
498498
run: |
499499
source $IDF_PATH/export.sh
500-
pip install requests sh click setuptools awscli
500+
pip install -r requirements-dev.txt
501501
sudo apt-get install -y gettext ninja-build
502502
env:
503503
IDF_PATH: ${{ github.workspace }}/ports/esp32s2/esp-idf

.github/workflows/create_website_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
python-version: 3.8
2323
- name: Install deps
2424
run: |
25-
pip install requests sh click
25+
pip install -r requirements-dev.txt
2626
- name: Versions
2727
run: |
2828
gcc --version

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
sudo apt-add-repository -y -u ppa:pybricks/ppa
2020
sudo apt-get install -y black gettext uncrustify
21-
pip3 install polib
21+
pip3 install -r requirements-dev.txt
2222
- name: Populate selected submodules
2323
run: git submodule update --init extmod/ulab
2424
- name: Set PY

requirements-dev.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# For string compression
2+
huffman
3+
4+
# For nvm.toml
5+
cascadetoml
6+
jinja2
7+
typer
8+
9+
requests
10+
sh
11+
click
12+
setuptools
13+
cpp-coveralls
14+
15+
# For docs
16+
Sphinx<4
17+
sphinx-rtd-theme
18+
recommonmark
19+
sphinx-autoapi
20+
sphinxcontrib-svg2pdfconverter
21+
22+
# For translate check
23+
polib
24+
25+
# For pre-commit
26+
pyyaml
27+
astroid
28+
isort
29+
black
30+
mypy
31+
32+
# For uploading artifacts
33+
awscli

0 commit comments

Comments
 (0)