Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions cep-0014.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<tr><td> Status </td><td> Accepted</td></tr>
<tr><td> Author(s) </td><td> Wolf Vollprecht &lt;wolf@prefix.dev&gt;</td></tr>
<tr><td> Created </td><td> May 23, 2023</td></tr>
<tr><td> Updated </td><td> Sep 24, 2025</td></tr>
<tr><td> Updated </td><td> Sep 26, 2025</td></tr>
<tr><td> Discussion </td><td> https://github.com/conda-incubator/ceps/pull/56 </td></tr>
<tr><td> Implementation </td><td>https://github.com/prefix-dev/rattler-build</td></tr>
</table>
Expand Down Expand Up @@ -68,7 +68,9 @@ To benefit from autocompletion, and other LSP features in editors, we can add a
### Context section

The context section is a dictionary with key-value pairs that can be used for string interpolation.
The right-hand side of the key-value pair is a scalar (bool, number or string).
The right-hand side of the key-value pair is either a scalar (bool, number or string), or a list of scalars.
If it is a list, all elements must have exactly the same type.
The resulting Jinja variable has the same type as the value.

The variables can reference other variables from the context section.

Expand All @@ -84,6 +86,9 @@ context:
variable: test
# note that we can reference previous values, that means that they are rendered in order
other_variable: test_${{ variable }}
sequence_variable:
- value1
- value2
```

### Package section
Expand Down Expand Up @@ -835,3 +840,4 @@ extra:
## Changelog

- September 24, 2025: Removed `about.license_url` as the field exists but is unused in `conda-build`.
- September 26, 2025: Permits lists of scalars in `context`.