remove conda history file

seems to result in unintended pinning of packages installed when setting up base env
pull/373/head
Min RK 2018-08-07 20:17:49 +02:00
rodzic aee37bedfa
commit a4ef9b17ae
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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