Skip to content
Snippets Groups Projects
Commit 69ec2bc4 authored by calrama's avatar calrama
Browse files

[centos,windows] python: update system-wide pip, pin cryptography to <3.4

parent 4dc31846
No related branches found
No related tags found
No related merge requests found
Pipeline #35120 canceled
......@@ -346,6 +346,8 @@ RUN yum install -y \
libepoxy-devel \
&& \
yum clean all && \
python3.6 -m pip --no-cache-dir install -U pip && \
python3.6 -m pip --no-cache-dir install 'cryptography<3.4' && \
python3.6 -m pip --no-cache-dir install \
wheel \
twine
......@@ -440,7 +442,9 @@ RUN version=3.9.1 && \
ldconfig
# Python 3.7 packages
RUN python3.7 -m pip --no-cache-dir install \
RUN python3.7 -m pip --no-cache-dir install -U pip && \
python3.7 -m pip --no-cache-dir install 'cryptography<3.4' && \
python3.7 -m pip --no-cache-dir install \
wheel \
twine \
pytest \
......@@ -448,7 +452,9 @@ RUN python3.7 -m pip --no-cache-dir install \
h5py
# Python 3.8 packages
RUN python3.8 -m pip --no-cache-dir install \
RUN python3.8 -m pip --no-cache-dir install -U pip && \
python3.8 -m pip --no-cache-dir install 'cryptography<3.4' && \
python3.8 -m pip --no-cache-dir install \
wheel \
twine \
pytest \
......@@ -456,7 +462,9 @@ RUN python3.8 -m pip --no-cache-dir install \
h5py
# Python 3.9 packages
RUN python3.9 -m pip --no-cache-dir install \
RUN python3.9 -m pip --no-cache-dir install -U pip && \
python3.9 -m pip --no-cache-dir install 'cryptography<3.4' && \
python3.9 -m pip --no-cache-dir install \
wheel \
twine \
pytest \
......
......@@ -90,6 +90,8 @@ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1;
Must-Run choco install -y --allow-multiple-versions python --version 3.8.7; \
Must-Run choco install -y --allow-multiple-versions python --version 3.7.9; \
$env:PATH = "\"$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::User));$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine))\""; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
......@@ -97,6 +99,8 @@ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1;
pandas \
h5py \
; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
......@@ -104,6 +108,8 @@ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1;
pandas \
h5py \
; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment