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:

committed by
Andrew Yourtchenko

parent
7463900dbd
commit
fa5aabbf0b
1
Makefile
1
Makefile
@ -76,6 +76,7 @@ DEB_DEPENDS += enchant # for docs
|
||||
DEB_DEPENDS += python3-virtualenv
|
||||
DEB_DEPENDS += libssl-dev
|
||||
DEB_DEPENDS += libelf-dev # for libbpf (af_xdp)
|
||||
DEB_DEPENDS += iperf3 # for 'make test TEST=vcl'
|
||||
|
||||
LIBFFI=libffi6 # works on all but 20.04 and debian-testing
|
||||
|
||||
|
@ -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
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,4 @@
|
||||
pip-tools==6.4.0 # BSD Keep this in sync with Makefile's PIP_TOOLS_VERSION
|
||||
|
||||
pip-tools==6.5.0 # BSD Keep this in sync with Makefile's PIP_TOOLS_VERSION
|
||||
cryptography!=2.0 # BSD/Apache-2.0
|
||||
deprecation>=2.0.6 # Apache-2.0
|
||||
faulthandler; python_version < '3.3' # # BSD License (2 clause)
|
||||
|
Reference in New Issue
Block a user