kopia lustrzana https://github.com/jupyterhub/repo2docker
use latest micromamba
rodzic
2bfbf44efa
commit
f9388c3200
|
@ -7,7 +7,7 @@ if [[ "${KERNEL_PYTHON_PREFIX}" != "${NB_PYTHON_PREFIX}" ]]; then
|
||||||
# if the kernel is a separate env, stack them
|
# if the kernel is a separate env, stack them
|
||||||
# so both are on PATH, notebook first
|
# so both are on PATH, notebook first
|
||||||
micromamba activate ${KERNEL_PYTHON_PREFIX}
|
micromamba activate ${KERNEL_PYTHON_PREFIX}
|
||||||
micromamba activate ${NB_PYTHON_PREFIX} --stack
|
micromamba activate --stack ${NB_PYTHON_PREFIX}
|
||||||
|
|
||||||
# even though it's second on $PATH
|
# even though it's second on $PATH
|
||||||
# make sure CONDA_DEFAULT_ENV is the *kernel* env
|
# make sure CONDA_DEFAULT_ENV is the *kernel* env
|
||||||
|
|
|
@ -5,6 +5,6 @@ from subprocess import check_output
|
||||||
assert sys.version_info[:2] == (3, 5), sys.version
|
assert sys.version_info[:2] == (3, 5), sys.version
|
||||||
|
|
||||||
out = check_output(["/tmp/bin/micromamba", "--version"]).decode("utf8").strip()
|
out = check_output(["/tmp/bin/micromamba", "--version"]).decode("utf8").strip()
|
||||||
assert out == "0.12.0", out
|
assert out == "0.12.1", out
|
||||||
|
|
||||||
import numpy
|
import numpy
|
||||||
|
|
Ładowanie…
Reference in New Issue