Tools: fix configparser version for python2

This commit is contained in:
Pierre Kancir 2022-06-30 08:54:48 +02:00 committed by Andrew Tridgell
parent d768462155
commit d2abd1eed9

View File

@ -139,7 +139,7 @@ fi
BASE_PKGS="build-essential ccache g++ gawk git make wget" BASE_PKGS="build-essential ccache g++ gawk git make wget"
if [ ${RELEASE_CODENAME} == 'xenial' ] || [ ${RELEASE_CODENAME} == 'bionic' ]; then if [ ${RELEASE_CODENAME} == 'xenial' ] || [ ${RELEASE_CODENAME} == 'bionic' ]; then
# use fixed version for package that drop python2 support # use fixed version for package that drop python2 support
PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect flake8==3.7.9 geocoder empy configparser==5.0.0 click==7.1.2 decorator==4.4.2" PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect flake8==3.7.9 geocoder empy configparser==4.0.2 click==7.1.2 decorator==4.4.2"
else else
PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect flake8 geocoder empy" PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect flake8 geocoder empy"
fi fi