Skip to content
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.

Add a mechanism to let an environment disable the default channels #229

Merged

Conversation

mwiebe
Copy link
Contributor

@mwiebe mwiebe commented Mar 9, 2016

Presently the conda env command has no way to create environments that are isolated from the anaconda default channels. In conda itself, this is done via the --override-channels option, but adding that option doesn't bundle that with the environment itself. It makes more sense for the creator of the environment to make this choice than the person running the conda env command, so it feels more appropriate to add it to the .yaml file.

This adds the ability to disable the default channels when defining an environment .yaml file by adding a nodefaults item to the channels list. This is inspired by the defaults in .condarc, just with the inverse meaning.

@mwiebe
Copy link
Contributor Author

mwiebe commented Mar 9, 2016

Ping @msarahan @kalefranz to get eyeballs on this. (Looking at the most recently merged PR, this appears to be the thing to do. ;)

@mwiebe mwiebe force-pushed the feature/env_without_default_channels branch from 5db5e53 to f3734a6 Compare March 10, 2016 21:01
@mwiebe
Copy link
Contributor Author

mwiebe commented Mar 10, 2016

I've rebased this and fixed up the merge conflict.

@kalefranz kalefranz merged commit f1eaa19 into conda-archive:develop Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants