tests: update python packages
- Also fix docs requirements and venv cleanup required for docker executor building Type: test Change-Id: I839423224d95c45af42f459217887f4201cbb11a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:

committed by
Damjan Marion

parent
543a0fd32b
commit
78b4f4e19b
3
Makefile
3
Makefile
@@ -72,7 +72,7 @@ DEB_DEPENDS += cmake ninja-build uuid-dev python3-jsonschema python3-yaml
|
||||
DEB_DEPENDS += python3-venv # ensurepip
|
||||
DEB_DEPENDS += python3-dev # needed for python3 -m pip install psutil
|
||||
DEB_DEPENDS += libnl-3-dev libnl-route-3-dev
|
||||
# python3.6 on 16.04 requires python36-dev
|
||||
DEB_DEPENDS += enchant # for docs
|
||||
|
||||
LIBFFI=libffi6 # works on all but 20.04 and debian-testing
|
||||
|
||||
@@ -116,6 +116,7 @@ RPM_DEPENDS += ccache
|
||||
RPM_DEPENDS += xmlto
|
||||
RPM_DEPENDS += elfutils-libelf-devel
|
||||
RPM_DEPENDS += libnl3-devel
|
||||
RPM_DEPENDS += enchant # for docs
|
||||
|
||||
ifeq ($(OS_ID),fedora)
|
||||
RPM_DEPENDS += dnf-utils
|
||||
|
@@ -21,9 +21,6 @@ PIP_TOOLS_VERSION ?= $(shell grep 'PIP_TOOLS_VERSION=' ${WS_ROOT}/test/Makefile
|
||||
|
||||
PYTHON ?= "python3"
|
||||
|
||||
DOC_DEB_DEPENDS = enchant
|
||||
DOC_RPM_DEPENDS = enchant
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS = --keep-going -n -W
|
||||
SPHINXBUILD = sphinx-build
|
||||
@@ -94,7 +91,7 @@ docs: clean venv ${BUILDDIR_SRC}
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -rf $(BUILDDIR)
|
||||
@rm -rf $(BUILDDIR) ${VENV_DIR}
|
||||
@make -C ${SCRIPTS_DIR} clean
|
||||
|
||||
.PHONY: build
|
||||
|
@@ -80,9 +80,9 @@ PYTHON_INTERP=$(PYTHON)
|
||||
endif
|
||||
|
||||
PYTHON_VERSION=$(shell $(PYTHON_INTERP) -c 'import sys; print(sys.version_info.major)')
|
||||
PIP_VERSION=21.2.4
|
||||
PIP_VERSION=21.3.1
|
||||
# Keep in sync with requirements.txt
|
||||
PIP_TOOLS_VERSION=6.2.0
|
||||
PIP_TOOLS_VERSION=6.4.0
|
||||
PYTHON_DEPENDS=requirements-$(PYTHON_VERSION).txt
|
||||
SCAPY_SOURCE=$(shell find $(VENV_PATH)/lib/python* -name site-packages)
|
||||
BUILD_COV_DIR=$(TEST_BR)/coverage
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
pip-tools==6.2.0 # BSD Keep this in sync with Makefile's PIP_TOOLS_VERSION
|
||||
pip-tools==6.4.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
|
||||
|
Reference in New Issue
Block a user