Open takkaria opened 1 month ago
Hey @takkaria, thanks for raising this. I'd absolutely appreciate a PR. It's been awhile since I've worked on this codebase and as you've pointed out there's a few contemporary Python features that it could no doubt benefit from!
I should probably look at the PyPI stats before making a call on what minimum Python version to support, but targeting 3.8+ seems reasonable.
Thank you 😊
I ran into an issue where
ssm-parameter-store
was failing to run in a Python 3.12 venv because setuptools wasn't installed:Since Python 3.8 the preferred way to get the package's installed version is
from importlib.metadata import version
, which doesn't require extra packages to be installed.I can make a PR to update to support Python 3.8+ if you are interested in that. (3.8 goes EOL in about a month at the time of writing so at this point it seems pretty safe to rely on it.)