-
Notifications
You must be signed in to change notification settings - Fork 435
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
allow jinja2 templates to be located in current conda environment #578
Conversation
Would someone from the core team please care to comment on this PR? It is very critical for my work. Thank you very much! @msarahan @ilanschnell To clarify the PR, I repeat its rationale here: Jinja templates are a powerful way to configure Use case: Suppose one wants to build a set of packages with exactly identical toolset settings (same compiler options, tool versions etc.). This can be achieved by performing the build in a suitably prepared conda environment. However, conda does not yet provide a portable query method for information about the current environment within {% import '$CONDA_DEFAULT_ENV/toolset-info.yaml' as toolset %} and later be accessed via variables like |
I just noticed that the environment variable |
There is no variable |
Strange. It worked for me, and I'm quite certain that I never defined |
+1 from me. The travis build failure is unrelated. Missing OpenSSL package that we haven't built on python 3.3 yet. |
Discussed with @ilanschnell and @groutr - we think this is a very nice addition. Thanks! |
allow jinja2 templates to be located in current conda environment
Thanks for merging, @msarahan! See conda/conda#1589 (comment) for a usage example. |
As requested, this is an update of PR #575. (I nonetheless keep #575 open for now so that we can continue our conversation there.)