File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def generate(self, project):
171
171
172
172
if project .configuration_schema :
173
173
configuration_schema_path = (
174
- project .root / project .configuration_schema_filename
174
+ project .root / project .configuration_schema_filename
175
175
)
176
176
project .write_configuration_schema (configuration_schema_path )
177
177
configuration_models = resolve_models (
@@ -348,3 +348,15 @@ class Python37LanguagePlugin(Python36LanguagePlugin):
348
348
NAME = "python37"
349
349
RUNTIME = "python3.7"
350
350
DOCKER_TAG = 3.7
351
+
352
+
353
+ class Python38LanguagePlugin (Python36LanguagePlugin ):
354
+ NAME = "python38"
355
+ RUNTIME = "python3.8"
356
+ DOCKER_TAG = 3.8
357
+
358
+
359
+ class Python39LanguagePlugin (Python36LanguagePlugin ):
360
+ NAME = "python39"
361
+ RUNTIME = "python3.9"
362
+ DOCKER_TAG = 3.9
Original file line number Diff line number Diff line change @@ -27,3 +27,11 @@ def setup_subparser_python36(subparsers, parents):
27
27
28
28
def setup_subparser_python37 (subparsers , parents ):
29
29
return setup_subparser (subparsers , parents , "python37" )
30
+
31
+
32
+ def setup_subparser_python38 (subparsers , parents ):
33
+ return setup_subparser (subparsers , parents , "python38" )
34
+
35
+
36
+ def setup_subparser_python39 (subparsers , parents ):
37
+ return setup_subparser (subparsers , parents , "python39" )
Original file line number Diff line number Diff line change @@ -40,10 +40,14 @@ def find_version(*file_paths):
40
40
install_requires = ["cloudformation-cli>=0.2.23" , "types-dataclasses>=0.1.5" ],
41
41
entry_points = {
42
42
"rpdk.v1.languages" : [
43
+ "python39 = rpdk.python.codegen:Python39LanguagePlugin" ,
44
+ "python38 = rpdk.python.codegen:Python38LanguagePlugin" ,
43
45
"python37 = rpdk.python.codegen:Python37LanguagePlugin" ,
44
46
"python36 = rpdk.python.codegen:Python36LanguagePlugin" ,
45
47
],
46
48
"rpdk.v1.parsers" : [
49
+ "python39 = rpdk.python.parser:setup_subparser_python39" ,
50
+ "python38 = rpdk.python.parser:setup_subparser_python38" ,
47
51
"python37 = rpdk.python.parser:setup_subparser_python37" ,
48
52
"python36 = rpdk.python.parser:setup_subparser_python36" ,
49
53
],
You can’t perform that action at this time.
0 commit comments