awslabs / aws-cfn-template-flip

Tool for converting AWS CloudFormation templates between JSON and YAML formats.
Apache License 2.0
994 stars 142 forks source link

is this compatible with python 2.7? #112

Closed michelle37 closed 3 years ago

michelle37 commented 3 years ago

my build is getting a few failures, I am using python 2.7 .troposphere/lib/python2.7/site-packages/cfn_clean/init.py", line 16, in from collections.abc import KeysView, ImportError: No module named abc also Compiling /tmp/../cfn-flip/cfn_tools/_config.py ... File "/tmp/pip-build-bxxJjR/cfn-flip/cfn_tools/_config.py", line 8 _logger: logging.Logger = logging.getLogger(name) ^ SyntaxError: invalid syntax

koiker commented 3 years ago

Hi Michelle, The new version 1.3.0 is only compatible with python >= 3.6. If possible, lock your requirement with 1.2.3 for python 2.7 as from now onwards the package will be python 3 or higher compatible.