Comments (4)
Suggested Solution
-
Fix your direct dependency to be pyyaml <5.2.0. I have checked this revision will not affect your downstream projects now.
-
Remove your direct dependency pyyaml, and use pyyaml transitively introduced by flying-circus.
-
Ask your upstream project flying-circus to loose the version range of pyyaml.
@garyd203 Which solution do you prefer, 1, 2 or 3?
Please let me know your choice. I can submit a PR to solve this issue.
from ssmash.
Hi @NeolithEra , thanks a lot for the detailed bug report. This issue hadn't affected me because I have been using poetry
to install (which does resolve the PyYAML
versions in a compatible way), rather than pip
, so thanks for bringing it to my attention.
For a solution, it's not desirable to loosen the PyYAML
version range for flying-circus
(which is somewhat coupled to the internals of PyYAML
), unfortunately.
The best approach seems to be if we restrict our version of PyYAML
to something compatible (say, "PyYAML>=5.1,<5.2") - your option (1). Are you happy to put together a PR along those lines?
from ssmash.
I will pick this up
from ssmash.
Appears to be resolved now. Thanks @NeolithEra :)
$ docker run -it python:3.6 "bash"
root:/# pip install ssmash
/ ... /
Installing collected packages: click, inflection, PyYAML, attrs, flying-circus,
ssmash
Successfully installed PyYAML-5.1.2 attrs-18.2.0 click-7.0 flying-circus-0.7.2 i
nflection-0.3.1 ssmash-2.1.2
root:/# ssmash --help
Usage: ssmash [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Convert a plain YAML file with application configuration into a
CloudFormation template with SSM parameters.
Options:
-i, --input, --input-file FILENAME
Where to read the application configuration
YAML file
-o, --output, --output-file FILENAME
Where to write the CloudFormation template
file
--description TEXT The description for the CloudFormation
stack.
--help Show this message and exit.
Commands:
invalidate-ecs Invalidate the cache in an ECS Service that uses these...
invalidate-lambda Invalidate the cache in a Lambda Function that uses...
from ssmash.
Related Issues (15)
- Clean up unwanted cookiecutter output
- As a user I can specify AWS tags for SSM parameters
- Provide CLI options to upload to AWS
- use AGPL
- Use multiple CLI command chaining
- Invalidation occurs too early, before old parameters are deleted
- As a developer I am using best practices for python project management
- Support older Python versions HOT 1
- Add a CLI option for `--version`
- Put invalidation config into YAML file
- As a user I can convert an app config specification into a CloudFormation template
- Move AWS-specific hypothesis strategies into an external library
- As a user I can specify parameters with a list value
- As a developer my code gets built automatically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssmash.