Drop Python 3.6 support and require Python >= 3.7

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

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(