summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2020-12-14 18:28:04 -0500
committerMike Frysinger <vapier@google.com>2021-01-06 17:55:15 +0000
commit128f34e8741f64a42fae2b6195a3ff5ee1926ca8 (patch)
tree436a99bed2b4c37968f4ea83fcd5c46f263b8d0d
parent30bc354e25cb5ccfbbb276a93ec54195e6b966a4 (diff)
downloadgit-repo-128f34e8741f64a42fae2b6195a3ff5ee1926ca8.tar.gz
main: require Python 3.5 now
We've been warning about Python 3.4 for almost a year. This drops support for these systems: * Ubuntu Trusty: released Apr 2014, EOL Apr 2022 * Debian Jessie: released Apr 2015, EOL Jun 2020 So the min required distros would now be: * Ubuntu Xenial: released Sep 2015 w/Python 3.5 * Debian Stretch: released Jun 2017 w/Python 3.6 I don't think we're quite ready to drop Python 3.5 which would affect Ubuntu Xenial -- we'd have to update to Ubuntu Bionic from Apr 2018. Let's see how much the community reacts to loss of Python 3.4 first. Bug: https://crbug.com/gerrit/10418 Change-Id: Ib24a57818fdca49e23db53e1bdd1f4c76b4963f7 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/291502 Reviewed-by: Chris Mcdonald <cjmcdonald@google.com> Tested-by: Mike Frysinger <vapier@google.com>
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index a7c3c684..ebfa6524 100755
--- a/main.py
+++ b/main.py
@@ -83,7 +83,7 @@ if not is_python3():
83# 83#
84# python-3.6 is in Ubuntu Bionic. 84# python-3.6 is in Ubuntu Bionic.
85MIN_PYTHON_VERSION_SOFT = (3, 6) 85MIN_PYTHON_VERSION_SOFT = (3, 6)
86MIN_PYTHON_VERSION_HARD = (3, 4) 86MIN_PYTHON_VERSION_HARD = (3, 5)
87 87
88if sys.version_info.major < 3: 88if sys.version_info.major < 3:
89 print('repo: error: Python 2 is no longer supported; ' 89 print('repo: error: Python 2 is no longer supported; '