From 1963ed9630bd2581307407400a18192b75b05e59 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 2 Dec 2023 18:27:20 +1100 Subject: [PATCH] .github: clamp empy to version 3 API and syntax hanges make 4 problematic --- .github/workflows/cygwin_build.yml | 2 +- .github/workflows/esp32_build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cygwin_build.yml b/.github/workflows/cygwin_build.yml index 9ae7ffba31fac7..b623aa855076eb 100644 --- a/.github/workflows/cygwin_build.yml +++ b/.github/workflows/cygwin_build.yml @@ -189,7 +189,7 @@ jobs: shell: C:\cygwin\bin\bash.exe -eo pipefail '{0}' run: >- ln -sf /usr/bin/python3.7 /usr/bin/python && ln -sf /usr/bin/pip3.7 /usr/bin/pip && - python -m pip install --progress-bar off empy pexpect && + python -m pip install --progress-bar off "empy>=3,<4" pexpect && python -m pip install --progress-bar off dronecan --upgrade && cp /usr/bin/ccache /usr/local/bin/ && cd /usr/local/bin && ln -s ccache /usr/local/bin/gcc && diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index c2a438891f7da7..5a8300f6bb599d 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -200,7 +200,7 @@ jobs: ./install.sh source ./export.sh cd ../.. - python -m pip install --progress-bar off future lxml pymavlink MAVProxy pexpect flake8 geocoder empy dronecan + python -m pip install --progress-bar off future lxml pymavlink MAVProxy pexpect flake8 geocoder "empy>=3,<4" dronecan which cmake ./waf configure --board ${{matrix.config}} ./waf plane