Skip to content

Commit

Permalink
Try removing boa for now (very slow)
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Feb 28, 2023
1 parent d1cb72c commit 95beb59
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion conda/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,22 @@ def install_miniconda(conda_base, activate_base, logger):
backup_bashrc()

print('Doing initial setup\n')

commands = '{} && ' \
'conda config --add channels conda-forge && ' \
'conda config --set channel_priority strict && ' \
'conda config --set channel_priority strict' \
''.format(activate_base)

check_call(commands, logger=logger)

commands = '{} && ' \
'conda remove -y boa'.format(activate_base)
try:
check_call(commands, logger=logger)
except subprocess.CalledProcessError:
pass

commands = '{} && ' \
'mamba update -y --all && ' \
'mamba init'.format(activate_base)

Expand Down

0 comments on commit 95beb59

Please sign in to comment.