Skip to content

Commit cea030e

Browse files
authored
Force pip version 19 (#1647)
1 parent fff1db4 commit cea030e

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

images/onnx-predictor-cpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
3333
rm -rf ~/.cache ~/miniconda.sh
3434

3535
# split the conda installations because the dev boxes have limited memory
36-
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36+
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
3737
/opt/conda/bin/conda clean -a && \
3838
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
3939
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \

images/onnx-predictor-gpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
3333
rm -rf ~/.cache ~/miniconda.sh
3434

3535
# split the conda installations because the dev boxes have limited memory
36-
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36+
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
3737
/opt/conda/bin/conda clean -a && \
3838
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
3939
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \

images/python-predictor-cpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
3333
rm -rf ~/.cache ~/miniconda.sh
3434

3535
# split the conda installations because the dev boxes have limited memory
36-
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36+
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
3737
/opt/conda/bin/conda clean -a && \
3838
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
3939
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \

images/python-predictor-gpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
3535
rm -rf ~/.cache ~/miniconda.sh
3636

3737
# split the conda installations because the dev boxes have limited memory
38-
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
38+
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
3939
/opt/conda/bin/conda clean -a && \
4040
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
4141
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \

images/python-predictor-inf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
4343
rm -rf ~/.cache ~/miniconda.sh
4444

4545
# split the conda installations because the dev boxes have limited memory
46-
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
46+
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
4747
/opt/conda/bin/conda clean -a && \
4848
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
4949
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \

images/tensorflow-predictor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
3333
rm -rf ~/.cache ~/miniconda.sh
3434

3535
# split the conda installations because the dev boxes have limited memory
36-
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36+
RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
3737
/opt/conda/bin/conda clean -a && \
3838
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
3939
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \

pkg/workloads/cortex/client/cortex/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def deploy(
116116
)
117117

118118
if not is_python_set:
119-
conda_packages = [f"python={actual_version}"] + conda_packages
119+
conda_packages = [f"python={actual_version}", "pip=19.*"] + conda_packages
120120

121121
if len(requirements) > 0:
122122
with open(project_dir / "requirements.txt", "w") as requirements_file:

0 commit comments

Comments
 (0)