moonraker: remove the python version check

Moonraker depends on "future" annotations and uses fstrings, so
 versions of Python older than 3.7 will fail to load and never make
 it to the version check.

 Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-02-23 11:19:01 -05:00
parent f83f476f81
commit 7679f8063f
1 changed files with 0 additions and 8 deletions

View File

@ -7,14 +7,6 @@
from __future__ import annotations from __future__ import annotations
import sys import sys
if sys.version_info < (3, 7):
msg = (
"Moonraker requires Python 3.7 or above. "
"Detected Version: %s\n"
)
sys.stdout.write(msg % (sys.version,))
sys.stderr.write(msg % (sys.version,))
exit(1)
import argparse import argparse
import importlib import importlib
import os import os