kopia lustrzana https://github.com/jupyterhub/repo2docker
commit
d2f7ebdf27
|
@ -57,8 +57,12 @@ if [[ -f /tmp/kernel-environment.yml ]]; then
|
|||
|
||||
conda env create -n kernel -f /tmp/kernel-environment.yml
|
||||
${CONDA_DIR}/envs/kernel/bin/ipython kernel install --prefix "${CONDA_DIR}"
|
||||
rm -f ${CONDA_DIR}/envs/kernel/conda-meta/history
|
||||
fi
|
||||
|
||||
# remove conda history file,
|
||||
# which seems to result in some effective pinning of packages in the initial env,
|
||||
# which we don't intend
|
||||
rm -f ${CONDA_DIR}/conda-meta/history
|
||||
# Clean things out!
|
||||
conda clean -tipsy
|
||||
|
||||
|
|
|
@ -24,3 +24,9 @@
|
|||
url: https://github.com/binder-examples/requirements
|
||||
ref: test
|
||||
verify: python -c 'import matplotlib'
|
||||
# Test that custom channels and downgrades don't
|
||||
# get blocked by pinning
|
||||
- name: Xeus-Cling
|
||||
url: https://github.com/QuantStack/xeus-cling
|
||||
ref: 0.4.5
|
||||
verify: jupyter kernelspec list
|
||||
|
|
Ładowanie…
Reference in New Issue