From 004b51f3cd1cc049acc448b6129607f49dcf8f35 Mon Sep 17 00:00:00 2001 From: ejochman <34144949+ejochman@users.noreply.github.com> Date: Fri, 3 May 2019 14:59:51 -0700 Subject: [PATCH] Gate usage on minimum supported Python version (#912) 3.7 is recommended, but 3.5 should be currently supported --- src/gam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gam.py b/src/gam.py index ff101355..c37b22a1 100755 --- a/src/gam.py +++ b/src/gam.py @@ -14237,6 +14237,6 @@ def ProcessGAMCommand(args): if __name__ == "__main__": if sys.platform.startswith('win'): freeze_support() - if sys.version_info[0] < 3 or sys.version_info[1] < 7: - systemErrorExit(5, 'GAM requires Python 3.7 or newer. You are running %s.%s.%s. Please upgrade your Python version or use one of the binary GAM downloads.' % sys.version_info[:3]) + if sys.version_info[0] < 3 or sys.version_info[1] < 5: + systemErrorExit(5, 'GAM requires Python 3.5 or newer. You are running %s.%s.%s. Please upgrade your Python version or use one of the binary GAM downloads.' % sys.version_info[:3]) sys.exit(ProcessGAMCommand(sys.argv))