Skip to content

Commit 6e3490c

Browse files
authored
Merge pull request #1354 from mathbunnyru/asalikhov/strict_python_version
Pin python version in a strict way
2 parents 5d91bd0 + 5f02332 commit 6e3490c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base-notebook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ RUN wget --quiet "https://github.com/conda-forge/miniforge/releases/download/${m
113113
conda config --system --set auto_update_conda false && \
114114
conda config --system --set show_channel_urls true && \
115115
if [[ "${PYTHON_VERSION}" != "default" ]]; then conda install --yes python="${PYTHON_VERSION}"; fi && \
116-
conda list python | grep '^python ' | tr -s ' ' | cut -d '.' -f 1,2 | sed 's/$/.*/' >> "${CONDA_DIR}/conda-meta/pinned" && \
116+
conda list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && \
117117
conda install --quiet --yes \
118118
"conda=${CONDA_VERSION}" \
119119
'pip' && \

0 commit comments

Comments
 (0)