Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove conda-meta/history #373

Merged
merged 2 commits into from
Aug 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion repo2docker/buildpacks/conda/install-miniconda.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions tests/external/reproductions.repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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