aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Lidi Zheng <lidiz@google.com>2018-10-23 13:29:24 -0700
committerGravatar Lidi Zheng <lidiz@google.com>2018-10-23 13:29:24 -0700
commita8658d919284ed8fac992e7682c0bf9ffb951abe (patch)
tree367b5f65215a7beceab66fa22ac02029a08869ef /tools/run_tests
parent772c4c43362736690779eb8d52279a97b5335b6d (diff)
Put `jessie` back for Python3.4
* According to `https://packages.debian.org/jessie/python/python3.4` the Python3.4 has security issues. * Debian `stretch` doesn't include Python3.4 packages in their repo
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/run_tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 4329557b40..5dcdd3700c 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -760,14 +760,13 @@ class PythonLanguage(object):
def python_manager_name(self):
if self.args.compiler in [
- 'python2.7', 'python3.4', 'python3.5', 'python3.6', 'python3.7'
+ 'python2.7', 'python3.5', 'python3.6', 'python3.7'
]:
return 'stretch_%s' % re.sub(r'\D*', '', self.args.compiler)
elif self.args.compiler == 'python_alpine':
return 'alpine'
else:
- raise ValueError("No Docker Python manager available for %s" %
- self.args.compiler)
+ return 'jessie'
def _get_pythons(self, args):
if args.arch == 'x86':