Add developer support for python 3.11
Currently, seCureLI is implemented in Python version 3.9. In order to maintain best practices, the required Python version in the pyproject.toml file should be changed to "^3.11"
The goal of this story is to resolve all of the incompatibility issues that arise from switching to Python3.11
There are some known incompatibility issues that need to be corrected such as how Enums are printed which will affect how seCureLI runs
example:
from enum import Enum
class EchoLevel(str, Enum):
debug = "DEBUG"
info = "INFO"
warn = "WARN"
error = "ERROR"
test = {"level": EchoLevel.error}
test["level"] = "{}".format(test["level"])
print(test)
python3.9 output: {'level': 'ERROR'} python3.11 output: {'level': 'EchoLevel.error'}
there may be other issues as well
PR to resolve is open: https://github.com/slalombuild/secureli/pull/316
See https://github.com/slalombuild/secureli/issues/318, this is being reverted, it needs to be handled with a better checklist of the different systems needed to be updated including publishing and homebrew.
Developer support for 3.11 is complete, moving the project proper to 3.11 needs to be a bigger ticket and have careful consideration