You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/07/20 21:47:10 UTC
[trafficserver] branch 8.1.x updated: Update autest python version
to 36 (#7013)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.1.x by this push:
new 59d3b9a Update autest python version to 36 (#7013)
59d3b9a is described below
commit 59d3b9a363ccae3ce8337b272ef081c5bf495e59
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Mon Jul 20 14:47:02 2020 -0700
Update autest python version to 36 (#7013)
This updates the needed version to 36 since it appears some dependencies require it. It also adds setuptools to be upgraded along with pip to resolve to build requirements issues
Bump autest version to 1.8.0
---
tests/Pipfile | 2 +-
tests/autest.sh | 2 +-
tests/bootstrap.py | 12 ++++++------
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/Pipfile b/tests/Pipfile
index b9a79bb..993b82b 100644
--- a/tests/Pipfile
+++ b/tests/Pipfile
@@ -24,7 +24,7 @@ autopep8 = "*"
pyflakes = "*"
[packages]
-autest = "==1.7.4"
+autest = "==1.8.0"
traffic-replay = "*" # this should install TRLib, MicroServer, MicroDNS, Traffic-Replay
hyper = "*"
dnslib = "*"
diff --git a/tests/autest.sh b/tests/autest.sh
index 33c4d21..bbbfa80 100755
--- a/tests/autest.sh
+++ b/tests/autest.sh
@@ -27,7 +27,7 @@ if [ ! -f ./env-test/bin/autest ]; then\
echo -e "${GREEN}Done!${NC}";\
fi
# this is for rhel or centos systems
-test -r /opt/rh/rh-python35/enable && . /opt/rh/rh-python35/enable
+test -r /opt/rh/rh-python36/enable && . /opt/rh/rh-python36/enable
. env-test/bin/activate
./env-test/bin/autest -D gold_tests "$@"
ret=$?
diff --git a/tests/bootstrap.py b/tests/bootstrap.py
index 892345e..c352878 100755
--- a/tests/bootstrap.py
+++ b/tests/bootstrap.py
@@ -26,7 +26,7 @@ import platform
import sys
pip_packages = [
- "autest==1.7.3",
+ "autest==1.8.0",
"hyper",
"requests",
"dnslib",
@@ -39,8 +39,8 @@ pip_packages = [
distro_packages = {
"RHEL": [
"install epel-release",
- "install python35",
- "install rh-python35-python-virtualenv"
+ "install python36",
+ "install rh-python36-python-virtualenv"
],
"Fedora": [
"install python3",
@@ -55,7 +55,7 @@ distro_packages = {
],
"CentOS": [
"install epel-release",
- "install rh-python35-python-virtualenv"
+ "install rh-python36-python-virtualenv"
]
}
@@ -169,7 +169,7 @@ def gen_package_cmds(packages):
extra = ''
if distro() == 'RHEL' or distro() == 'CentOS':
- extra = ". /opt/rh/rh-python35/enable ;"
+ extra = ". /opt/rh/rh-python36/enable ;"
def venv_cmds(path):
@@ -181,7 +181,7 @@ def venv_cmds(path):
return [
# first command only needed for rhel and centos systems at this time
extra + " virtualenv --python=python3 {0}".format(path),
- extra + " {0}/bin/pip install pip --upgrade".format(path)
+ extra + " {0}/bin/pip install pip setuptools --upgrade".format(path)
]