From 128f34e8741f64a42fae2b6195a3ff5ee1926ca8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 14 Dec 2020 18:28:04 -0500 Subject: [PATCH] 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 Tested-by: Mike Frysinger --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): # # python-3.6 is in Ubuntu Bionic. MIN_PYTHON_VERSION_SOFT = (3, 6) -MIN_PYTHON_VERSION_HARD = (3, 4) +MIN_PYTHON_VERSION_HARD = (3, 5) if sys.version_info.major < 3: print('repo: error: Python 2 is no longer supported; '