Add requirements-dev.txt for python deps

This commit is contained in:
Scott Shawcroft 2021-03-19 15:22:23 -07:00
parent 5d2b60cbf6
commit 4aea7f8f52
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
5 changed files with 39 additions and 6 deletions

View File

@ -38,7 +38,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y eatmydata
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64 latexmk texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
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
pip install -r requirements-dev.txt
- name: Versions
run: |
gcc --version
@ -356,7 +356,7 @@ jobs:
- name: Install deps
run: |
sudo apt-get install -y gettext
pip install requests sh click setuptools awscli
pip install -r requirements-dev.txt
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
- name: Versions
@ -497,7 +497,7 @@ jobs:
- name: Install CircuitPython deps
run: |
source $IDF_PATH/export.sh
pip install requests sh click setuptools awscli
pip install -r requirements-dev.txt
sudo apt-get install -y gettext ninja-build
env:
IDF_PATH: ${{ github.workspace }}/ports/esp32s2/esp-idf

View File

@ -22,7 +22,7 @@ jobs:
python-version: 3.8
- name: Install deps
run: |
pip install requests sh click
pip install -r requirements-dev.txt
- name: Versions
run: |
gcc --version

View File

@ -18,7 +18,7 @@ jobs:
run: |
sudo apt-add-repository -y -u ppa:pybricks/ppa
sudo apt-get install -y black gettext uncrustify
pip3 install polib
pip3 install -r requirements-dev.txt
- name: Populate selected submodules
run: git submodule update --init extmod/ulab
- name: Set PY

@ -1 +1 @@
Subproject commit 12538a7c456607b7abe3b88c606c62b6f7342b46
Subproject commit 9323b67fce48119b0080854d48abc6b1425e327e

33
requirements-dev.txt Normal file
View File

@ -0,0 +1,33 @@
# For string compression
huffman
# For nvm.toml
cascadetoml
jinja2
typer
requests
sh
click
setuptools
cpp-coveralls
# For docs
Sphinx<4
sphinx-rtd-theme
recommonmark
sphinx-autoapi
sphinxcontrib-svg2pdfconverter
# For translate check
polib
# For pre-commit
pyyaml
astroid
isort
black
mypy
# For uploading artifacts
awscli