Drop Python 3.6 support and require Python >= 3.7

This commit is contained in:
grossmj committed 2022-03-14 15:13:26 +10:30
1 parent 3edfa53e9e
commit db739775d0
4 files changed
+12 -19

No files matched your search

+3 -3
View File
@@ -268,9 +268,9 @@ class Server:
else:
log.info(f"Compute authentication is enabled with username '{config.Server.compute_username}'")
# 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")
log.info(
"Running with Python {major}.{minor}.{micro} and has PID {pid}".format(