Skip to content

Commit

Permalink
Update troposphere library (Sceptre#1111)
Browse files Browse the repository at this point in the history
When attempting to deploy troposphere template I get the following error

```
AttributeError: 'Template' object has no attribute 'to_yaml'
```

Accoring to cloudtools/troposphere#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.
  • Loading branch information
zaro0508 authored Sep 27, 2021
1 parent a4b6af7 commit 86f3b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_version(rel_path):
]

extra_requirements = {
"troposphere": ["troposphere>=2.0.0,<2.1.0"],
"troposphere": ["troposphere>=2.7,<3"],
}


Expand Down

0 comments on commit 86f3b9c

Please sign in to comment.