From 2981e807a2b9f9f11a87e3d359b1e08815e1522c Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Wed, 15 Nov 2023 10:09:12 -0800 Subject: [PATCH 1/2] Add python 3.12 support --- setup.py | 1 + tests/test_project.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 03c9532d..a4f4a693 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,7 @@ def find_version(*file_paths): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], keywords="Amazon Web Services AWS CloudFormation", ) diff --git a/tests/test_project.py b/tests/test_project.py index d9337ca5..ead69cce 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -61,6 +61,8 @@ "go1.x", "python3.8", "python3.9", + "python3.10", + "python3.11", "dotnetcore2.1", "nodejs10.x", "nodejs12.x", From 6e3a459c5b1f6d3768142c4bc597e3980d04cd90 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Fri, 22 Dec 2023 08:11:23 -0800 Subject: [PATCH 2/2] Lifecycle python plugin versions --- src/rpdk/core/hook/init_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpdk/core/hook/init_hook.py b/src/rpdk/core/hook/init_hook.py index 8967d6f7..5ac99686 100644 --- a/src/rpdk/core/hook/init_hook.py +++ b/src/rpdk/core/hook/init_hook.py @@ -12,7 +12,7 @@ LOG = logging.getLogger(__name__) HOOK_TYPE_NAME_REGEX = r"^[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}$" -HOOK_PLUGINS = ("java", "python37", "python38", "python39") +HOOK_PLUGINS = ("java", "python38", "python39", "python310", "python311", "python312") def init_hook(args, project):