tests: Update python packages

- pip == 22.0.3
- pip-tools == 6.5.0
- setuptools == 60.7.1 (now pinned in test/Makefile)
- upgrade packages in requirements-3.txt
- install iperf3 for 'make test TEST=vcl'

Type: test

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I1bd85f10fb4f6ba87b9bc1267905e5f1b8eb16de
This commit is contained in:
Dave Wallace
2022-02-05 09:27:05 -05:00
committed by Andrew Yourtchenko
parent 7463900dbd
commit fa5aabbf0b
4 changed files with 154 additions and 132 deletions

View File

@@ -80,9 +80,10 @@ PYTHON_INTERP=$(PYTHON)
endif
PYTHON_VERSION=$(shell $(PYTHON_INTERP) -c 'import sys; print(sys.version_info.major)')
PIP_VERSION=21.3.1
PIP_VERSION=22.0.3
# Keep in sync with requirements.txt
PIP_TOOLS_VERSION=6.4.0
PIP_TOOLS_VERSION=6.5.0
PIP_SETUPTOOLS_VERSION=60.7.1
PYTHON_DEPENDS=requirements-$(PYTHON_VERSION).txt
SCAPY_SOURCE=$(shell find $(VENV_PATH)/lib/python* -name site-packages)
BUILD_COV_DIR=$(TEST_BR)/coverage
@@ -106,6 +107,8 @@ $(PIP_TOOLS_INSTALL_DONE):
python3 -m pip install pip===$(PIP_VERSION)"
@bash -c "source $(VENV_PATH)/bin/activate && \
python3 -m pip install pip-tools===$(PIP_TOOLS_VERSION)"
@bash -c "source $(VENV_PATH)/bin/activate && \
python3 -m pip install setuptools===$(PIP_SETUPTOOLS_VERSION)"
@touch $@
$(PYTHON_DEPENDS): requirements.txt