From f050fc7e009b82c4f5133df5926a83475b6b2b2c Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 9 Feb 2024 16:49:58 +1100 Subject: [PATCH] Change runtime checks for Python version --- gns3server/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gns3server/run.py b/gns3server/run.py index 672cc357..c15d976e 100644 --- a/gns3server/run.py +++ b/gns3server/run.py @@ -235,9 +235,9 @@ def run(): return log.info("HTTP authentication is enabled with username '{}'".format(user)) - # we only support Python 3 version >= 3.6 - if sys.version_info < (3, 6, 0): - raise SystemExit("Python 3.6 or higher is required") + # we only support Python 3 version >= 3.7 + if sys.version_info < (3, 7, 0): + raise SystemExit("Python 3.7 or higher is required") user_log.info("Running with Python {major}.{minor}.{micro} and has PID {pid}".format(major=sys.version_info[0], minor=sys.version_info[1], micro=sys.version_info[2], pid=os.getpid()))