CEP 44: Optional dependency groups - #165
Conversation
Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
|
Dear @conda/steering-council, The vote for this CEP has started. It will be open for two weeks, until May 11th, 2026, 23:59 Anywhere on Earth. This time period has been chosen to make it eligible for time-out rules. As an Enhancement Proposal vote, it requires 60% affirmative votes to pass. To vote, please mark the relevant checkbox under your username:
|
|
Mid voting period reminder, @msarahan @marcelotrevisani @jakirkham @mariusvniekerk @chenghlee @pavelzw |
|
|
||
| ## Specification | ||
|
|
||
| The `info/index.json` dictionary of each conda artifact MUST allow a new field, `extra-depends`, the value of which MUST be a dictionary that maps the group names (expressed as a string that MUST match the regex `[a-z0-9_.-+]{1,64}`) to a list of `MatchSpec` strings encoding the optional dependencies. Since this is backwards incompatible behavior-wise, the `schema_version` value MUST be bumped to `3`. |
There was a problem hiding this comment.
Not worth blocking a "yes" vote on, but at some point, we'll likely want to further restrict the group name specification, as this regex allows _, __, and --._.-._---_..-_.--._-._.-_--_. to be a group name.
There was a problem hiding this comment.
I'd say that is something we should still fix. Maybe [a-z0-9]+(-[a-z0-9]+)* with a maximum of 64 characters?
|
@mbargull @jakirkham last reminder to vote! |
Vote results🗳️ The votes are in! Here is the tally for this @conda/steering-council vote. Thanks to everyone who participated. 🎉 Result: PASSED Summary
Abstentions count toward quorum but are excluded from the approval fraction. Tally
|
Checklist for submitter
cep-0000.mdnamedcep-XXXX.mdin the root level.CEP XX: Amend XYZ.## Changelogsection right above the final "Copyright" section with an item that uses syntaxYYYY-MM-DD: Brief explanation of changes.Checklist for CEP approvals
${greatest-number-in-main} + 1.cep-XXXX.mdfile has been renamed accordingly.# CEP XXXX -header has been edited accordingly.pre-commitchecks are passing.Comes from #111