Skip to content

Commit

Permalink
Merge pull request #714 from xylar/fix-mamba-1.5.1-issue
Browse files Browse the repository at this point in the history
Temporary fix to reinstall mamba=1.5.1
  • Loading branch information
xylar authored Oct 5, 2023
2 parents 57cd62f + e3f13b5 commit b13977d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conda/compass_env/load_compass.template
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
echo Loading conda environment
source {{ conda_base }}/etc/profile.d/conda.sh
conda activate {{ compass_env }}
source {{ conda_base }}/etc/profile.d/mamba.sh
mamba activate {{ compass_env }}
echo Done.
echo

{{ update_compass }}

{{ spack }}

{{ env_vars }}
{{ env_vars }}
2 changes: 2 additions & 0 deletions conda/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def install_miniconda(conda_base, activate_base, logger):
check_call(commands, logger=logger)

commands = f'{activate_base} && ' \
f'conda install -y --force-reinstall' \
f' mamba=1.5.1 conda=23.7.4 && ' \
f'mamba update -y --all && ' \
f'mamba init'

Expand Down

0 comments on commit b13977d

Please sign in to comment.