Skip to content

Commit 15fbf90

Browse files
Pin pip=20.1.1
1 parent 3149ae7 commit 15fbf90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ci/azureml_tests/submit_groupwise_azureml_pytest.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,14 @@ def create_run_config(
197197
apt-get clean -y && \
198198
rm -rf /var/lib/apt/lists/*
199199
# Conda Environment
200+
# Pin pip=20.1.1 due to the issue: No module named 'ruamel'
201+
# See https://learn.microsoft.com/en-us/python/api/overview/azure/ml/install?view=azure-ml-py#troubleshooting
200202
ENV MINICONDA_VERSION py38_23.3.1-0
201203
ENV PATH /opt/miniconda/bin:$PATH
202204
ENV CONDA_PACKAGE 23.5.0
203205
RUN wget -qO /tmp/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
204206
bash /tmp/miniconda.sh -bf -p /opt/miniconda && \
205-
conda install conda=${CONDA_PACKAGE} -y && \
207+
conda install -y conda=${CONDA_PACKAGE} python=3.8 pip=20.1.1 && \
206208
conda update --all -c conda-forge -y && \
207209
conda clean -ay && \
208210
rm -rf /opt/miniconda/pkgs && \

0 commit comments

Comments
 (0)