Skip to content

Commit f277183

Browse files
author
John Tompkins
authored
Require updated cfn plugin. Fix write settings (#119)
1 parent b4ba654 commit f277183

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

python/rpdk/go/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
22

3-
__version__ = "0.1.3"
3+
__version__ = "0.1.4"
44

55
logging.getLogger(__name__).addHandler(logging.NullHandler())

python/rpdk/go/codegen.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424

2525
LANGUAGE = "go"
2626

27-
DEFAULT_SETTINGS = {
28-
"protocolVersion": "1.0",
29-
"pluginVersion": __version__,
30-
}
27+
DEFAULT_SETTINGS = {"protocolVersion": "1.0", "pluginVersion": __version__}
3128

3229

3330
class GoExecutableNotFoundError(SysExitRecommendedError):
@@ -197,7 +194,7 @@ def generate(self, project):
197194
print(*check_version(old), sep="\n")
198195

199196
if need_to_write:
200-
project._write_settings(LANGUAGE)
197+
project.write_settings()
201198

202199
@staticmethod
203200
def pre_package(project):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def find_version(*file_paths):
3636
# package_data -> use MANIFEST.in instead
3737
include_package_data=True,
3838
zip_safe=True,
39-
install_requires=["cloudformation-cli>=0.1,<0.2", "semver>=2.9.0",],
39+
install_requires=["cloudformation-cli>=0.1.2,<0.2", "semver>=2.9.0"],
4040
python_requires=">=3.6",
4141
entry_points={"rpdk.v1.languages": ["go = rpdk.go.codegen:GoLanguagePlugin"]},
4242
license="Apache License 2.0",

0 commit comments

Comments
 (0)