diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-16 19:42:37 -0300 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-12-20 13:45:59 -0300 |
commit | ddf90699631db53c981b6a5a63d31c08e0eaeec7 (patch) | |
tree | 4d42eb751c4d405df00fbc672fd2c1c916a5b226 /tests/Makefile.include | |
parent | 49233804f5c458d61d8eb903c19d62edb3434db2 (diff) | |
download | qemu-ddf90699631db53c981b6a5a63d31c08e0eaeec7.zip qemu-ddf90699631db53c981b6a5a63d31c08e0eaeec7.tar.gz qemu-ddf90699631db53c981b6a5a63d31c08e0eaeec7.tar.bz2 |
configure: Require Python >= 3.5
Python 3.5 is the oldest Python version available on our
supported build platforms, and Python 2 end of life will be 3
weeks after the planned release date of QEMU 4.2.0. Drop Python
2 support from configure completely, and require Python 3.5 or
newer.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20191016224237.26180-1-ehabkost@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/Makefile.include')
-rw-r--r-- | tests/Makefile.include | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include index 31b8667..9146e1b 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -1157,7 +1157,6 @@ TESTS_RESULTS_DIR=$(BUILD_DIR)/tests/results AVOCADO_SHOW=app AVOCADO_TAGS=$(patsubst %-softmmu,-t arch:%, $(filter %-softmmu,$(TARGET_DIRS))) -ifneq ($(PYTHON2),y) $(TESTS_VENV_DIR): $(TESTS_VENV_REQ) $(call quiet-command, \ $(PYTHON) -m venv --system-site-packages $@, \ @@ -1166,10 +1165,6 @@ $(TESTS_VENV_DIR): $(TESTS_VENV_REQ) $(TESTS_VENV_DIR)/bin/python -m pip -q install -r $(TESTS_VENV_REQ), \ PIP, $(TESTS_VENV_REQ)) $(call quiet-command, touch $@) -else -$(TESTS_VENV_DIR): - $(error "venv directory for tests requires Python 3") -endif $(TESTS_RESULTS_DIR): $(call quiet-command, mkdir -p $@, \ |