File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
pkg/workloads/cortex/client/cortex Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff 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 && \
Original file line number Diff line number Diff 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 && \
Original file line number Diff line number Diff 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 && \
Original file line number Diff line number Diff 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 && \
Original file line number Diff line number Diff 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 && \
Original file line number Diff line number Diff 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 && \
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments