Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
Don't remove the defaults conda channel (#17)
Browse files Browse the repository at this point in the history
Since conda-forge migrated compilers, conflicts with defaults aren't a
big issue anymore. There is no reason to remove the defaults channel.
This might actually cause trouble down the line when conda-forge uses
some defaults packages as dependencies (like the compiler and base
library packages).
  • Loading branch information
leouieda authored Mar 22, 2019
1 parent 561ae97 commit 9628589
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion appveyor/setup-miniconda.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ conda config --set always_yes yes --set changeps1 no

REM Add conda-forge to the top of the channel list
conda config --prepend channels conda-forge
conda config --remove channels defaults
REM Add an extra channel that may be required
IF DEFINED CONDA_EXTRA_CHANNEL (
conda config --append channels %CONDA_EXTRA_CHANNEL%
) ELSE (
ECHO Not setting extra channels
)
conda config --set show_channel_urls True

REM Display all configuration options for diagnosis
conda config --show
Expand Down
2 changes: 1 addition & 1 deletion azure/setup-miniconda.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ conda config --set always_yes yes --set changeps1 no

REM Add conda-forge to the top of the channel list
conda config --prepend channels conda-forge
conda config --remove channels defaults
REM Add an extra channel that may be required
IF DEFINED CONDA_EXTRA_CHANNEL (
conda config --append channels %CONDA_EXTRA_CHANNEL%
) ELSE (
ECHO Not setting extra channels
)
conda config --set show_channel_urls True

REM Display all configuration options for diagnosis
conda config --show
Expand Down
2 changes: 1 addition & 1 deletion azure/setup-miniconda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ conda config --set always_yes yes --set changeps1 no

# Add conda-forge to the top of the channel list
conda config --prepend channels conda-forge
conda config --remove channels defaults
# Add an extra channel that may be required
if [[ ! -z $CONDA_EXTRA_CHANNEL ]]; then
conda config --append channels $CONDA_EXTRA_CHANNEL
fi
conda config --set show_channel_urls True

# Display all configuration options for diagnosis
conda config --show
Expand Down
2 changes: 1 addition & 1 deletion travis/setup-miniconda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ conda config --set always_yes yes --set changeps1 no

# Add conda-forge to the top of the channel list
conda config --prepend channels conda-forge
conda config --remove channels defaults
# Add an extra channel that may be required
if [[ ! -z $CONDA_EXTRA_CHANNEL ]]; then
conda config --append channels $CONDA_EXTRA_CHANNEL
fi
conda config --set show_channel_urls True

# Display all configuration options for diagnosis
conda config --show
Expand Down

0 comments on commit 9628589

Please sign in to comment.