conda env create -n ENVNAME --file should support json files #12942
Labels
pending::discussion
contains some ongoing discussion that needs to be resolved prior to proceeding
source::community
catch-all for issues filed by community members
type::feature
request for a new feature or capability
Checklist
What is the idea?
conda
currently only supports creating new environments from yaml files, i.e.,It would be good to be able to also create new environments from
json
files:Why is this needed?
For
conda
and the enviroment it lives in, this does not make a difference, whether the enviroment is specfified inyaml
orjson
. However, in a standard CPython installation, there is noyaml
support, but only json. In order to be able to work with environment files in standard CPython it would be good, if the enviroment files would also available and usable injson
.conda
already support json export (conda env export --json
)Of course one could ducplicate the enviroment and also create both formats, but this is error prone and a single source of truth is the better solution.
What should happen?
conda env create -n ENVNAME --file
should acceptjson
files.Additional Context
No response
The text was updated successfully, but these errors were encountered: