File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
repo2docker/buildpacks/conda Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ set -ex
55
66
77cd $( dirname $0 )
8- MINIFORGE_VERSION=4.8.2-1
9- MAMBA_VERSION=0.6.1
8+ MINIFORGE_VERSION=4.9.2-2
109# SHA256 for installers can be obtained from https://github.com/conda-forge/miniforge/releases
11- SHA256SUM=" 4f897e503bd0edfb277524ca5b6a5b14ad818b3198c2f07a36858b7d88c928db "
10+ SHA256SUM=" 7a7bfaff87680298304a97ba69bcf92f66c810995a7155a2918b99fafb8ca1dc "
1211
13- URL=" https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION} /Miniforge3 -${MINIFORGE_VERSION} -Linux-x86_64.sh"
12+ URL=" https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION} /Mambaforge -${MINIFORGE_VERSION} -Linux-x86_64.sh"
1413INSTALLER_PATH=/tmp/miniforge-installer.sh
1514
1615# make sure we don't do anything funky with user's $HOME
@@ -42,11 +41,6 @@ echo 'update_dependencies: false' >> ${CONDA_DIR}/.condarc
4241# avoid future changes to default channel_priority behavior
4342conda config --system --set channel_priority " flexible"
4443
45- # do all installation with mamba
46- time conda install -y mamba==${MAMBA_VERSION}
47- # switch back to conda
48- # ln -s $CONDA_DIR/bin/conda $CONDA_DIR/bin/mamba
49-
5044echo " installing notebook env:"
5145cat /tmp/environment.yml
5246time mamba env create -p ${NB_PYTHON_PREFIX} -f /tmp/environment.yml
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ from subprocess import check_output
55assert sys .version_info [:2 ] == (3 , 5 ), sys .version
66
77out = check_output (["conda" , "--version" ]).decode ("utf8" ).strip ()
8- assert out == "conda 4.8 .2" , out
8+ assert out == "conda 4.9 .2" , out
99
1010import numpy
You can’t perform that action at this time.
0 commit comments