upgrade max supported python version to 3.12; drop support for python 3.9 (>3.10 required)

This commit is contained in:
2024-05-07 23:18:43 -06:00
parent f5ec9cff8c
commit b796021357
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from .scwrypts.exceptions import MissingVariableError
def getenv(name, required=True):
value = os_getenv(name, None)
value = os_getenv(f'{name}__override', os_getenv(name))
if required and not value:
raise MissingVariableError(name)