From 86f3b9c16bf3dc0b9ed5874cae8474121b78bc2a Mon Sep 17 00:00:00 2001 From: Khai Do <3697686+zaro0508@users.noreply.github.com> Date: Mon, 27 Sep 2021 09:47:07 -0700 Subject: [PATCH] Update troposphere library (#1111) When attempting to deploy troposphere template I get the following error ``` AttributeError: 'Template' object has no attribute 'to_yaml' ``` Accoring to https://github.com/cloudtools/troposphere/issues/759 it seems like we need to update trophoshere to a version where the `to_yaml` was added back. The current version of trophosphere is pretty old anyways. The latest version is 3.0.3 however updating to 3.0.3 causes unit tests to fail so we are sticking to the latest 2.x version. --- requirements/prod.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/prod.txt b/requirements/prod.txt index ec2a14306..2ebe6dc6c 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -9,4 +9,4 @@ PyYaml>=5.1,<6.0 sceptre-cmd-resolver>=1.1.3,<2 sceptre-file-resolver>=1.0.4,<2 six>=1.11.0,<2.0.0 -troposphere>=2.0.0,<2.1.0 +troposphere>=2.7,<3 diff --git a/setup.py b/setup.py index bcbd821b2..27d5e2f41 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def get_version(rel_path): ] extra_requirements = { - "troposphere": ["troposphere>=2.0.0,<2.1.0"], + "troposphere": ["troposphere>=2.7,<3"], }