[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 4/9] tests: silence pip upgrade warnings during venv creation
From: |
John Snow |
Subject: |
[RFC PATCH 4/9] tests: silence pip upgrade warnings during venv creation |
Date: |
Thu, 12 May 2022 20:06:04 -0400 |
Turn off the nag warning coaxing us to upgrade pip. It's not really that
interesting to see in CI logs, and as long as nothing is broken --
nothing is broken.
Signed-off-by: John Snow <jsnow@redhat.com>
---
tests/Makefile.include | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index dbbf1ba535b..dfb678d379f 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -109,11 +109,11 @@ $(TESTS_VENV_DIR): $(TESTS_VENV_REQ)
$(SRC_PATH)/python/setup.cfg
$(PYTHON) -m venv $@, \
VENV, $@)
$(call quiet-command, \
- $(TESTS_PYTHON) -m pip -q install \
+ $(TESTS_PYTHON) -m pip -q --disable-pip-version-check install \
-e "$(SRC_PATH)/python/", PIP, "$(SRC_PATH)/python/")
$(call quiet-command, \
- $(TESTS_PYTHON) -m pip -q install -r $(TESTS_VENV_REQ), \
- PIP, $(TESTS_VENV_REQ))
+ $(TESTS_PYTHON) -m pip -q --disable-pip-version-check install \
+ -r $(TESTS_VENV_REQ), PIP, $(TESTS_VENV_REQ))
$(call quiet-command, touch $@)
$(TESTS_RESULTS_DIR):
--
2.34.1
- [RFC PATCH 1/9] python: update for mypy 0.950, (continued)
[RFC PATCH 4/9] tests: silence pip upgrade warnings during venv creation,
John Snow <=
[RFC PATCH 3/9] tests: install "qemu" namespace package into venv, John Snow, 2022/05/12
[RFC PATCH 5/9] tests: use tests/venv to run basevm.py-based scripts, John Snow, 2022/05/12
[RFC PATCH 8/9] iotests: fix source directory location, John Snow, 2022/05/12
[RFC PATCH 7/9] tests: add check-venv to build-tcg-disabled CI recipe, John Snow, 2022/05/12