Installing an extra pip package for copier #34368
Unanswered
wwuck
asked this question in
Request Help
Replies: 1 comment
-
It looks like copier installs for containerbase already have some custom logic related to jinja here: https://github.com/containerbase/base/blob/a61d520d293dc67d3f168ef7bf5361d7b4cfb083/src/cli/tools/python/utils.ts#L204-L206 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
gitlab renovate/renovate:39.176.3
Please tell us more about your question or problem
I am attempting to use the copier manager and I am having trouble trying to use it with jinja extensions. Copier supports loading jinja extensions and my copier template uses extensions provided by the cookiecutter python package.
I have a custom renovate docker image where I run
RUN install-tool python 3.12.9
andRUN install-pip cookiecutter 2.6.0
but I'm guessing because ofbinarySource=install
, the cookiecutter ends up in a different python virtual environment from the copier install location.With
install-tool copier 9.5.0
, copier gets installed into/opt/containerbase/tools/copier/9.5.0/3.12.9/
.install-pip cookiecutter 2.6.0
installs cookiecutter into/opt/containerbase/tools/cookiecutter/2.6.0/3.12.9/
.How can I get cookiecutter installed into the same python environment as copier?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions