also pin typer for windows builds

This commit is contained in:
Jeff Epler 2022-03-28 19:36:28 -05:00 committed by Dan Halbert
parent d5868b42ff
commit 29eed5c21f

View File

@ -5,12 +5,14 @@ on:
pull_request: pull_request:
paths: paths:
- '.github/workflows/*.yml' - '.github/workflows/*.yml'
- 'tools/**'
- 'py/**'
- 'extmod/**' - 'extmod/**'
- 'lib/**' - 'lib/**'
- 'mpy-cross/**'
- 'ports/unix/**' - 'ports/unix/**'
- 'ports/windows/**' - 'ports/windows/**'
- 'py/**'
- 'requirements*.txt'
- 'tools/**'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@ -64,7 +66,8 @@ jobs:
pip install wheel pip install wheel
# requirements_dev.txt doesn't install on windows. (with msys2 python) # requirements_dev.txt doesn't install on windows. (with msys2 python)
# instead, pick a subset for what we want to do # instead, pick a subset for what we want to do
pip install cascadetoml jinja2 typer intelhex # Undo the pin of typer & click when undoing it in requirements-dev.txt
pip install cascadetoml jinja2 typer==0.4.0 click==8.0.4 intelhex
# check that installed packages work....? # check that installed packages work....?
which python; python --version; python -c "import cascadetoml" which python; python --version; python -c "import cascadetoml"
which python3; python3 --version; python3 -c "import cascadetoml" which python3; python3 --version; python3 -c "import cascadetoml"