New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to cookiecutter 2.02 #1414
Comments
Hi @ghoersti and thanks for raising this very well written issue. Sorry no one responded before - we don't check issues on kedro-starters so much so I think this was inadvertently missed. I've moved this to the main repo for better visibility, and also because I'm curious about how you even know about cookiecutter 2.0.2? I see the latest docs on their website are for 2.0.2, but there's not been any release of it on their repo or PyPI. Is it possible to install 2.0.2 somehow already? |
@AntonyMilneQB Thank you for moving this for visibility! Well you can actually see the docs are out for it here, but I came across some post some where I cant find anymore. Current cookie master is on
I was making a project where it was super important to automate the uniqueness of an instantiated repository, and using |
Cool, thanks for the explanation and the heads up! When it is out on PyPI we can try and bump the requirement and 🤞 it doesn't break anything. |
Or single command: |
Description
Is your feature request related to a problem? A clear and concise description of what the problem is:
I want to be able to use `{{uuid4()}} in cookie cutter prompts. We have a process which requires it to be part of the template.
Cookie cutters Docs say that this functionality is available in 1.73 , but this is not true.
According to this .
I know that the release is not yet stable for cookie cutter 2.0.2, but I just wanted to get transparency that the cookie cutter 1.7.3 features are not actually available until 2.xx namely
cookiecutter.extensions.UUIDExtension
Context
Why is this change important to you? How would you use it? How can it benefit other users?
Currently as a stub I am using
"{{ random_ascii_string(24) }}"
but this is not satisfactory.We have a script to work around it, but it would be very useful for templates to come out of the box with the ability to have UUID functionality from cookie cutter, without making a custom jinja extension, or custom code.
Possible Implementation
(Optional) Suggest an idea for implementing the addition or change.
Bump to `cookiecutter==2.02' eventually
Possible Alternatives
prompts.yml
would ask for then pass to configkedro new --config myconfig --starter my_starter
The text was updated successfully, but these errors were encountered: