8000 CEP-0014: permit lists in `context` by mgorny · Pull Request #110 · conda/ceps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CEP-0014: permit lists in context #110

New issue 8000

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mgorny
Copy link
@mgorny mgorny commented Feb 4, 2025

Description

Update the section describing the context block to permit lists of scalars in addition to scalars. Add a note that the resulting Jinja variable will have the same type as the value. For example, this can be used to declare lists of skipped tests, conveniently interspersing them with comments, and afterwards combining into a single string.

The change is backwards compatible and minimal, so it seems cleanest to update the spe 8000 cification in place rather than via another CEP.

See also: prefix-dev/rattler-build#1402

CC @wolfv

Update the section describing the `context` block to permit lists of
scalars in addition to scalars.  Add a note that the resulting Jinja
variable will have the same type as the value.  For example, this
can be used to declare lists of skipped tests, conveniently
interspersing them with comments, and afterwards combining into a single
string.

The change is backwards compatible and minimal, so it seems cleanest
to update the specification in place rather than via another CEP.

See also: prefix-dev/rattler-build#1402
mgorny added a commit to mgorny/rattler-build that referenced this pull request Feb 20, 2025
Add support for specifying lists in addition to scalars in `context`.
They are converted to Jinja sequences.  We require that all list members
have the same type.

CEP-14 update: conda/ceps#110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0