Message ID | 20220526000921.1581503-5-jsnow@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tests, python: prepare to expand usage of test venv | expand |
On 5/26/22 02:09, John Snow wrote: > 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 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/Makefile.include b/tests/Makefile.include > index f68adda0650..839ffde876a 100644 > --- a/tests/Makefile.include > +++ b/tests/Makefile.include > @@ -109,8 +109,8 @@ $(TESTS_VENV_DIR): $(TESTS_VENV_REQ) > $(PYTHON) -m venv $@, \ > VENV, $@) > $(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): Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/tests/Makefile.include b/tests/Makefile.include index f68adda0650..839ffde876a 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -109,8 +109,8 @@ $(TESTS_VENV_DIR): $(TESTS_VENV_REQ) $(PYTHON) -m venv $@, \ VENV, $@) $(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):
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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)