terraform-cdk
terraform-cdk copied to clipboard
Add `python-poetry` to `cdktf-cli` built-in templates
Poetry has become the most popular tool for managing Python projects and also projen allows you to set up your repo with that. CDKTF already supports built-in templates for python (pipenv) and python-pip (pip) so I think there should be space for python-poetry (Poetry) as well.
There's also an existing template that works very well.
Hi @garysassano 👋
Thank you for raising this! This was originally discussed in a PR here which then ended up becoming the community template you linked.
Is there any data that you know of that could help to make the case in favor or Python Poetry? Personally, I'd rather replace one of the existing Python templates with the Poetry one, but this would require us to have some data that supports the higher popularity of Python Poetry over e.g. Pipenv.
I think Google Trends is quite good at providing some unbiased data showing the clear rise in popularity of Poetry over pipenv.
considering that pypi installation method is now officially supported by either project, pypi download stats could prove a shift toward poetry:
- https://pepy.tech/project/poetry
- https://pepy.tech/project/pipenv
where we can observe ~3x poetry installs
update, since July poetry doubled its download https://pepy.tech/project/poetry . While this is not the definitive benchmark, it's also to be noted we don't have any evidence to the contrary :)
what do you think @ansgarm ? Regards