Open carterbox opened 4 days ago
Thanks for the bug report!
Unfortunately there are a ton of these kinds of JINJA statements that are supported by conda-build
that we do not currently support. We'll need to look into this further.
We should also look into softer failure modes. It would be nice if a user could at least receive a partial conversion in a crash. But there are some crash scenarios that may be unrecoverable.
What happened?
The following jinja expressions are not converted correctly or cannot be converted automatically.
My understanding is that the correct conversion should be something like:
However, the following error is raised:
So it seems that the conversion cannot handle the "~" string concatenation operation from jinja2.
Furthermore, the top context is converted as follows:
Which, by my understanding, is incorrect because jinja expressions should be surrounded by "${{}}".
To Reproduce
Steps to reproduce the behavior:
Run
conda-recipe-manager convert
on the first yaml example in this issue.Additional Details (please complete the following information):
conda-recipe-manager 0.2.1 pyhd8ed1ab_0 conda-forge ubuntu linux on WLS2