marla.utils
Enforce the exact Python version range MARLA is validated against.
- exception marla.utils.python_version.UnsupportedPythonVersionError[source]
Bases:
RuntimeErrorRaised when MARLA is run under an unsupported Python interpreter.
- marla.utils.python_version.check_python_version(version_info=None)[source]
Raise
UnsupportedPythonVersionErrorunless running Python 3.10.x.Parameters
- version_info:
Defaults to
sys.version_info. Overridable for unit testing.
Best-effort version/environment info, shared by marla version and metadata.json.