Tools: use lastest python2 release for requests for pyhton2 distro

This commit is contained in:
Pierre Kancir 2022-06-30 16:48:45 +02:00 committed by Andrew Tridgell
parent 8af5763af3
commit ba9c72f1a3
1 changed files with 1 additions and 1 deletions

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==4.0.2 click==7.1.2 decorator==4.4.2" PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect flake8==3.7.9 requests==2.27.1 monotonic==1.6 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