Skip to content

Commit bd347e0

Browse files
authored
Pin libxml2 to avoid ABI breakage (#2283)
1 parent 57bedab commit bd347e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: images/docker-stacks-foundation/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ RUN set -x && \
131131
# Pin major.minor version of python
132132
# https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-pkgs.html#preventing-packages-from-updating-pinning
133133
mamba list --full-name 'python' | awk 'END{sub("[^.]*$", "*", $2); print $1 " " $2}' >> "${CONDA_DIR}/conda-meta/pinned" && \
134+
# Temporarily pin libxml2 to avoid ABI breakage
135+
# https://github.com/conda-forge/libxml2-feedstock/issues/145
136+
echo 'libxml2<2.14.0' >> /opt/conda/conda-meta/pinned && \
134137
mamba clean --all -f -y && \
135138
fix-permissions "${CONDA_DIR}" && \
136139
fix-permissions "/home/${NB_USER}"

0 commit comments

Comments
 (0)