Skip to content

Commit 2d14165

Browse files
committed
Tools: remove now-unnecessary Python future dependency
Neither we nor our dependencies need it anymore.
1 parent 4b39fe3 commit 2d14165

9 files changed

Lines changed: 7 additions & 9 deletions

Tools/environment_install/install-prereqs-alpine.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ apk update && apk add --no-cache \
1212
linux-headers \
1313
g++ \
1414
python3 \
15-
py-future \
1615
py-pip \
1716
libxml2-dev \
1817
libxslt-dev \

Tools/environment_install/install-prereqs-arch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BASE_PKGS="base-devel ccache git gsfonts tk wget gcc"
2626
SITL_PKGS="python-pip python-setuptools python-wheel python-wxpython opencv python-numpy python-scipy"
2727
PX4_PKGS="lib32-glibc zip zlib ncurses"
2828

29-
PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect argparse matplotlib pyparsing geocoder pyserial empy==3.3.4 dronecan packaging setuptools wheel"
29+
PYTHON_PKGS="lxml pymavlink MAVProxy pexpect argparse matplotlib pyparsing geocoder pyserial empy==3.3.4 dronecan packaging setuptools wheel"
3030

3131
# GNU Tools for ARM Embedded Processors
3232
# (see https://launchpad.net/gcc-arm-embedded/)

Tools/environment_install/install-prereqs-mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ if [[ $DO_AP_STM_ENV -eq 1 ]]; then
167167
install_arm_none_eabi_toolchain
168168
fi
169169

170-
PYTHON_PKGS="setuptools future lxml matplotlib pymavlink MAVProxy pexpect geocoder flake8 junitparser empy==3.3.4 dronecan"
170+
PYTHON_PKGS="setuptools lxml matplotlib pymavlink MAVProxy pexpect geocoder flake8 junitparser empy==3.3.4 dronecan"
171171
# add some Python packages required for commonly-used MAVProxy modules and hex file generation:
172172
if [[ $SKIP_AP_EXT_ENV -ne 1 ]]; then
173173
PYTHON_PKGS="$PYTHON_PKGS intelhex gnureadline"

Tools/environment_install/install-prereqs-openSUSE-Tumbleweed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ PYPKGVER=python$(python3 --version | cut -d' ' -f2 | awk -F. '{print $1$2}')
5959
BASE_PKGS="patterns-devel-base-devel_basis ccache git axel valgrind screen gcc-c++ xterm free-ttf-fonts sfml2-devel zip glibc-devel-static rsync"
6060
SITL_PKGS="${PYPKGVER}-pip ${PYPKGVER}-devel ${PYPKGVER}-setuptools ${PYPKGVER}-wheel ${PYPKGVER}-lxml ${PYPKGVER}-pyaml ${PYPKGVER}-wxPython ${PYPKGVER}-pyparsing ${PYPKGVER}-opencv ${PYPKGVER}-numpy ${PYPKGVER}-scipy ${PYPKGVER}-matplotlib"
6161

62-
PYTHON_PKGS="future lxml pymavlink MAVProxy pexpect argparse pyparsing geocoder pyserial empy==3.3.4 ptyprocess dronecan"
62+
PYTHON_PKGS="lxml pymavlink MAVProxy pexpect argparse pyparsing geocoder pyserial empy==3.3.4 ptyprocess dronecan"
6363
PYTHON_PKGS+=" flake8 junitparser pygame intelhex psutil pyyaml"
6464
# GNU Tools for ARM Embedded Processors
6565
# (see https://launchpad.net/gcc-arm-embedded/)

Tools/environment_install/install-prereqs-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ fi
194194

195195
# Lists of packages to install
196196
BASE_PKGS="build-essential ccache g++ gawk git make wget valgrind screen python3-pexpect astyle"
197-
PYTHON_PKGS="future lxml pymavlink pyserial MAVProxy geocoder empy==3.3.4 ptyprocess dronecan"
197+
PYTHON_PKGS="lxml pymavlink pyserial MAVProxy geocoder empy==3.3.4 ptyprocess dronecan"
198198
PYTHON_PKGS="$PYTHON_PKGS flake8 junitparser wsproto tabulate"
199199

200200
# add some Python packages required for commonly-used MAVProxy modules and hex file generation:

Tools/environment_install/install-prereqs-windows-andAPMSource.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Write-Output "Downloading ARM GCC Compiler 10-2020-Q4-Major (3/8)"
1414
Start-BitsTransfer -Source "https://firmware.ardupilot.org/Tools/STM32-tools/gcc-arm-none-eabi-10-2020-q4-major-win32.exe" -Destination "$PSScriptRoot\gcc-arm-none-eabi-10-2020-q4-major-win32.exe"
1515

1616
Write-Output "Installing Cygwin x64 (4/8)"
17-
Start-Process -wait -FilePath $PSScriptRoot\setup-x86_64.exe -ArgumentList "--root=C:\cygwin64 --no-startmenu --local-package-dir=$env:USERPROFILE\Downloads --site=http://cygwin.mirror.constant.com --packages autoconf,automake,ccache,cygwin32-gcc-g++,gcc-g++=7.4.0-1,libgcc1=7.4.0.1,gcc-core=7.4.0-1,git,libtool,make,gawk,libexpat-devel,libxml2-devel,python39,python39-future,python39-lxml,python39-pip,libxslt-devel,python39-devel,procps-ng,zip,gdb,ddd --quiet-mode"
17+
Start-Process -wait -FilePath $PSScriptRoot\setup-x86_64.exe -ArgumentList "--root=C:\cygwin64 --no-startmenu --local-package-dir=$env:USERPROFILE\Downloads --site=http://cygwin.mirror.constant.com --packages autoconf,automake,ccache,cygwin32-gcc-g++,gcc-g++=7.4.0-1,libgcc1=7.4.0.1,gcc-core=7.4.0-1,git,libtool,make,gawk,libexpat-devel,libxml2-devel,python39,python39-lxml,python39-pip,libxslt-devel,python39-devel,procps-ng,zip,gdb,ddd --quiet-mode"
1818

1919
Write-Output "Downloading extra Python packages (5/8)"
2020
Start-Process -wait -FilePath "C:\cygwin64\bin\bash" -ArgumentList "--login -i -c 'python3.9 -m pip install empy==3.3.4 pyserial intelhex dronecan pexpect'"

Tools/environment_install/install-prereqs-windows.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Write-Output "Downloading ARM GCC Compiler 10-2020-Q4-Major (3/7)"
1414
Start-BitsTransfer -Source "https://firmware.ardupilot.org/Tools/STM32-tools/gcc-arm-none-eabi-10-2020-q4-major-win32.exe" -Destination "$PSScriptRoot\gcc-arm-none-eabi-10-2020-q4-major-win32.exe"
1515

1616
Write-Output "Installing Cygwin x64 (4/7)"
17-
Start-Process -wait -FilePath $PSScriptRoot\setup-x86_64.exe -ArgumentList "--root=C:\cygwin64 --no-startmenu --local-package-dir=$env:USERPROFILE\Downloads --site=http://cygwin.mirror.constant.com --packages autoconf,automake,ccache,cygwin32-gcc-g++,gcc-g++=7.4.0-1,libgcc1=7.4.0.1,gcc-core=7.4.0-1,git,libtool,make,gawk,libexpat-devel,libxml2-devel,python39,python39-future,python39-lxml,python39-pip,libxslt-devel,python39-devel,procps-ng,zip,gdb,ddd,xterm --quiet-mode"
17+
Start-Process -wait -FilePath $PSScriptRoot\setup-x86_64.exe -ArgumentList "--root=C:\cygwin64 --no-startmenu --local-package-dir=$env:USERPROFILE\Downloads --site=http://cygwin.mirror.constant.com --packages autoconf,automake,ccache,cygwin32-gcc-g++,gcc-g++=7.4.0-1,libgcc1=7.4.0.1,gcc-core=7.4.0-1,git,libtool,make,gawk,libexpat-devel,libxml2-devel,python39,python39-lxml,python39-pip,libxslt-devel,python39-devel,procps-ng,zip,gdb,ddd,xterm --quiet-mode"
1818

1919
Write-Output "Downloading extra Python packages (5/7)"
2020
Start-Process -wait -FilePath "C:\cygwin64\bin\bash" -ArgumentList "--login -i -c 'python3.9 -m pip install empy==3.3.4 pyserial intelhex dronecan pexpect'"

Tools/scripts/configure-ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fi
9797

9898
. ~/.profile
9999

100-
python3 -m pip install --progress-bar off --user -U argparse pyserial pexpect future lxml
100+
python3 -m pip install --progress-bar off --user -U argparse pyserial pexpect lxml
101101
python3 -m pip install --progress-bar off --user -U intelhex
102102
python3 -m pip install --progress-bar off --user -U numpy
103103
python3 -m pip install --progress-bar off --user -U edn_format

Tools/scripts/esp32_get_idf.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ echo
6060
echo "installing missing python modules"
6161
python3 -m pip install empy==3.3.4
6262
python3 -m pip install pexpect
63-
python3 -m pip install future
6463

6564
cd ../..
6665

0 commit comments

Comments
 (0)