Discussion:
[conda] where is the channel list stored in an environment?
Chris Withers
2018-05-02 11:12:59 UTC
Permalink
Hey,

So, picky <http://picky-conda.readthedocs.io/> just told me my channel
list didn't match the order of what I had in my environment.lock.yaml:
https://github.com/conda/conda/issues/7238

...but then I went digging and couldn't find any list of channels in
~/miniconda3/envs/myenv. Where is it stored?

Inside an activated env, conda config --show-sources doesn't appear to
give the same list as that in conda env export. Is that expected?

This code
<https://github.com/conda/conda/blob/997b043e612ff4013024a9e86136bb1a2f5d75eb/conda_env/env.py#L64>
suggests that maybe it isn't stored anywhere, which is a bit concerning.
I also can't find anything in conda env create
<https://github.com/conda/conda/blob/997b043e612ff4013024a9e86136bb1a2f5d75eb/conda_env/cli/main_create.py#L105>
that actually sets the channels, where does it get them from?

I have to admit, all the TODO and FIXME in that code makes me pretty sad...

cheers,

Chris
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/82ed5c66-641b-83aa-dd67-093c412dba10%40withers.org.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...