conda / ceps

Conda Enhancement Proposals
Creative Commons Zero v1.0 Universal
20 stars 24 forks source link

Frame out the env spec cep #50

Open ericdill opened 1 year ago

ericdill commented 1 year ago

discussed with @mariusvniekerk, @AlbertDeFusco , @jezdez and @jaimergp.

opening this PR as a draft PR for further conversation. it's not really ready for full review yet.

there's a notebook that validates the env yamls that are part of this PR. those env yamls (and the validation code) should probably move over to the conda specs repo once this is finished and accepted.

AlbertDeFusco commented 1 year ago

Should this CEP also mention which of the keys are strictly required and which are optional? I've found that only dependencies is required and the rest can be left off.

jaimergp commented 1 year ago

For reference(s), this epic lists a few issues where similar conversations happened: https://github.com/conda/conda/issues/11341

jaimergp commented 1 year ago

Btw, thanks to @AlbertDeFusco I added a pydantic model to the ongoing effort on conda/schemas:

https://github.com/jaimergp/schemas/blob/revamp/conda_models/environment_file.py