summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-03-30 19:46:06 +0200
committerOle Tr�an <otroan@employees.org>2021-03-31 11:43:54 +0000
commit7554aef84a8a406c9dae73a7445e8b97920a83b3 (patch)
treeda861f4c99c14c034e56379621cae366fa0d269a /test/Makefile
parent1d2e38bb6ec0841d3e64be562c669c6ea3db764f (diff)
tests: call venv module directly
This avoids ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data' https://github.com/pypa/virtualenv/issues/1873 Type: fix Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I860cc8c4ad2ba509815c5e7cf02fa5e01ee2ed63
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 24210864117..d4d74bb62b4 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -124,7 +124,7 @@ PAPI_WIPE_DIST=$(WS_ROOT)/src/vpp-api/vapi/__pycache__ \
$(PIP_TOOLS_INSTALL_DONE):
@rm -rf $(VENV_PATH)
@mkdir -p $(VENV_RUN_DIR)
- @virtualenv $(VENV_PATH) -p $(PYTHON_INTERP)
+ @$(PYTHON_INTERP) -m venv $(VENV_PATH)
# pip version pinning
@bash -c "source $(VENV_PATH)/bin/activate && \
$(PYTHON_INTERP) -m pip install pip===$(PIP_VERSION)"