Skip to content

Commit

Permalink
Pin pip=20.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonYansenZhao committed Feb 22, 2024
1 parent 3149ae7 commit 15fbf90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/ci/azureml_tests/submit_groupwise_azureml_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,14 @@ def create_run_config(
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
# Conda Environment
# Pin pip=20.1.1 due to the issue: No module named 'ruamel'
# See https://learn.microsoft.com/en-us/python/api/overview/azure/ml/install?view=azure-ml-py#troubleshooting
ENV MINICONDA_VERSION py38_23.3.1-0
ENV PATH /opt/miniconda/bin:$PATH
ENV CONDA_PACKAGE 23.5.0
RUN wget -qO /tmp/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
bash /tmp/miniconda.sh -bf -p /opt/miniconda && \
conda install conda=${CONDA_PACKAGE} -y && \
conda install -y conda=${CONDA_PACKAGE} python=3.8 pip=20.1.1 && \
conda update --all -c conda-forge -y && \
conda clean -ay && \
rm -rf /opt/miniconda/pkgs && \
Expand Down

0 comments on commit 15fbf90

Please sign in to comment.