File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
repo2docker/buildpacks/conda Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2222# Docker image version can be different than conda version,
2323# since miniconda3 docker images seem to lag conda releases.
2424MINICONDA_DOCKER_VERSION = "4.5.12"
25- CONDA_VERSION = "4.6.14 "
25+ CONDA_VERSION = "4.7.5 "
2626
2727HERE = pathlib .Path (os .path .dirname (os .path .abspath (__file__ )))
2828
Original file line number Diff line number Diff line change 44
55cd $( dirname $0 )
66MINICONDA_VERSION=4.6.14
7- CONDA_VERSION=4.6.14
7+ CONDA_VERSION=4.7.5
88# Only MD5 checksums are available for miniconda
99# Can be obtained from https://repo.continuum.io/miniconda/
1010MD5SUM=" 718259965f234088d785cad1fbd7de03"
@@ -43,6 +43,9 @@ if [[ "${CONDA_VERSION}" != "${MINICONDA_VERSION}" ]]; then
4343 conda install -yq conda==${CONDA_VERSION}
4444fi
4545
46+ # avoid future changes to default channel_priority behavior
47+ conda config --system --set channel_priority " flexible"
48+
4649echo " installing notebook env:"
4750cat /tmp/environment.yml
4851conda 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.6.14 " , out
8+ assert out == "conda 4.7.5 " , out
99
1010import numpy
You can’t perform that action at this time.
0 commit comments