diff --git a/.github/workflows/cygwin_build.yml b/.github/workflows/cygwin_build.yml index 39b1051577..36a76dd1d6 100644 --- a/.github/workflows/cygwin_build.yml +++ b/.github/workflows/cygwin_build.yml @@ -188,8 +188,8 @@ 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==3.3.4 pexpect && - python -m pip install --progress-bar off dronecan --upgrade && + python3 -m pip install --progress-bar off empy==3.3.4 pexpect && + python3 -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 && ln -s ccache /usr/local/bin/g++ && diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index d503ca6ca9..e8101d34b1 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -178,7 +178,7 @@ jobs: sudo apt-get install git wget libncurses-dev flex bison gperf python3 python3-pip python3-venv python3-setuptools python3-serial python3-gevent python3-cryptography python3-future python3-pyparsing python3-pyelftools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 update-alternatives --query python - python --version + python3 --version pip3 install gevent # we actualy want 3.11 .. but the above only gave us 3.10, not ok with esp32 builds. @@ -188,7 +188,7 @@ jobs: sudo apt-get install python3 python3-pip python3-venv python3-setuptools python3-serial python3-cryptography python3-future python3-pyparsing python3-pyelftools update-alternatives --query python pip3 install gevent - python --version + python3 --version python3.11 --version which python3.11 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.11 11 @@ -229,7 +229,7 @@ jobs: ./install.sh source ./export.sh cd ../.. - python -m pip install --progress-bar off future lxml pymavlink MAVProxy pexpect flake8 geocoder empy==3.3.4 dronecan + python3 -m pip install --progress-bar off future lxml pymavlink MAVProxy pexpect flake8 geocoder empy==3.3.4 dronecan which cmake ./waf configure --board ${{matrix.config}} echo './waf configure --board ${{matrix.config}}' >> $GITHUB_STEP_SUMMARY