ci: Force reinstall of python tools to workaround GitHub cache issue

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-12-16 10:21:34 -03:00 committed by Xiang Xiao
parent cc0ee12092
commit aac0228c74
1 changed files with 6 additions and 7 deletions

View File

@ -278,22 +278,21 @@ function python-tools {
export PIP_USER=yes export PIP_USER=yes
export PYTHONUSERBASE=${tools}/pylocal export PYTHONUSERBASE=${tools}/pylocal
add_path "${PYTHONUSERBASE}"/bin add_path "${PYTHONUSERBASE}"/bin
pip3 install \
# Force the reinstall of python packages due to issues with GitHub
# cache restoration.
pip3 install --force-reinstall \
CodeChecker \ CodeChecker \
cxxfilt \ cxxfilt \
esptool==3.3.1 \ esptool==3.3.1 \
imgtool==1.9.0 \
pexpect==4.8.0 \ pexpect==4.8.0 \
pyelftools \ pyelftools \
pyserial==3.5 \ pyserial==3.5 \
pytest==6.2.5 \ pytest==6.2.5 \
pytest-json==0.4.0 \ pytest-json==0.4.0 \
pytest-ordering==0.6 \ pytest-ordering==0.6 \
pytest-repeat==0.9.1 pytest-repeat==0.9.1
# MCUboot's tool for image signing and key management
if ! command -v imgtool &> /dev/null; then
pip3 install imgtool
fi
} }
function riscv-gcc-toolchain { function riscv-gcc-toolchain {