File tree 7 files changed +20
-20
lines changed 7 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ RUN set -ex; \
88
88
\) -exec rm -rf '{}' +
89
89
90
90
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
91
- ENV PYTHON_PIP_VERSION 20.3.3
91
+ ENV PYTHON_PIP_VERSION 20.3.4
92
92
# https://github.com/pypa/get-pip
93
- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/39356a9d34700a468cf847867ac1a3bd72cc5e45 /get-pip.py
94
- ENV PYTHON_GET_PIP_SHA256 ec367c5c9b82fa13c04cfabb0a069e84496d5c36714f14d19b5f24d519d3ba25
93
+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11 /get-pip.py
94
+ ENV PYTHON_GET_PIP_SHA256 95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
95
95
96
96
RUN set -ex; \
97
97
\
Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ RUN set -ex; \
88
88
\) -exec rm -rf '{}' +
89
89
90
90
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
91
- ENV PYTHON_PIP_VERSION 20.3.3
91
+ ENV PYTHON_PIP_VERSION 20.3.4
92
92
# https://github.com/pypa/get-pip
93
- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/39356a9d34700a468cf847867ac1a3bd72cc5e45 /get-pip.py
94
- ENV PYTHON_GET_PIP_SHA256 ec367c5c9b82fa13c04cfabb0a069e84496d5c36714f14d19b5f24d519d3ba25
93
+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11 /get-pip.py
94
+ ENV PYTHON_GET_PIP_SHA256 95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
95
95
96
96
RUN set -ex; \
97
97
apt-get update; \
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ RUN set -ex; \
90
90
\) -exec rm -rf '{}' +
91
91
92
92
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
93
- ENV PYTHON_PIP_VERSION 20.3.3
93
+ ENV PYTHON_PIP_VERSION 20.3.4
94
94
# https://github.com/pypa/get-pip
95
- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/39356a9d34700a468cf847867ac1a3bd72cc5e45 /get-pip.py
96
- ENV PYTHON_GET_PIP_SHA256 ec367c5c9b82fa13c04cfabb0a069e84496d5c36714f14d19b5f24d519d3ba25
95
+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11 /get-pip.py
96
+ ENV PYTHON_GET_PIP_SHA256 95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
97
97
98
98
RUN set -ex; \
99
99
\
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ RUN set -ex; \
90
90
\) -exec rm -rf '{}' +
91
91
92
92
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
93
- ENV PYTHON_PIP_VERSION 20.3.3
93
+ ENV PYTHON_PIP_VERSION 20.3.4
94
94
# https://github.com/pypa/get-pip
95
- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/39356a9d34700a468cf847867ac1a3bd72cc5e45 /get-pip.py
96
- ENV PYTHON_GET_PIP_SHA256 ec367c5c9b82fa13c04cfabb0a069e84496d5c36714f14d19b5f24d519d3ba25
95
+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11 /get-pip.py
96
+ ENV PYTHON_GET_PIP_SHA256 95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
97
97
98
98
RUN set -ex; \
99
99
apt-get update; \
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ RUN set -ex; \
90
90
\) -exec rm -rf '{}' +
91
91
92
92
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
93
- ENV PYTHON_PIP_VERSION 20.3.3
93
+ ENV PYTHON_PIP_VERSION 20.3.4
94
94
# https://github.com/pypa/get-pip
95
- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/39356a9d34700a468cf847867ac1a3bd72cc5e45 /get-pip.py
96
- ENV PYTHON_GET_PIP_SHA256 ec367c5c9b82fa13c04cfabb0a069e84496d5c36714f14d19b5f24d519d3ba25
95
+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11 /get-pip.py
96
+ ENV PYTHON_GET_PIP_SHA256 95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
97
97
98
98
RUN set -ex; \
99
99
\
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ RUN set -ex; \
90
90
\) -exec rm -rf '{}' +
91
91
92
92
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
93
- ENV PYTHON_PIP_VERSION 20.3.3
93
+ ENV PYTHON_PIP_VERSION 20.3.4
94
94
# https://github.com/pypa/get-pip
95
- ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/39356a9d34700a468cf847867ac1a3bd72cc5e45 /get-pip.py
96
- ENV PYTHON_GET_PIP_SHA256 ec367c5c9b82fa13c04cfabb0a069e84496d5c36714f14d19b5f24d519d3ba25
95
+ ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11 /get-pip.py
96
+ ENV PYTHON_GET_PIP_SHA256 95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218
97
97
98
98
RUN set -ex; \
99
99
apt-get update; \
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ if [ ${#versions[@]} -eq 0 ]; then
11
11
fi
12
12
versions=( " ${versions[@]%/ } " )
13
13
14
- pipVersion=" $( curl -fsSL ' https://pypi.org/pypi/pip/json' | jq -r .info.version ) "
15
- getPipCommit=" $( curl -fsSL ' https://github.com/pypa/get-pip/commits/master /get-pip.py.atom' | tac| tac | awk -F ' [[:space:]]*[<>/]+' ' $2 == "id" && $3 ~ /Commit/ { print $4; exit }' ) "
14
+ pipVersion=" $( curl -fsSL ' https://pypi.org/pypi/pip/json' | jq ' .releases | keys[] | select(startswith("20.")) ' -r | sort -rV | head -1 ) " # version 20.x is the last to support Python 2
15
+ getPipCommit=" $( curl -fsSL " https://github.com/pypa/get-pip/commits/$pipVersion /get-pip.py.atom" | tac| tac | awk -F ' [[:space:]]*[<>/]+' ' $2 == "id" && $3 ~ /Commit/ { print $4; exit }' ) "
16
16
getPipUrl=" https://github.com/pypa/get-pip/raw/$getPipCommit /get-pip.py"
17
17
getPipSha256=" $( curl -fsSL " $getPipUrl " | sha256sum | cut -d' ' -f1) "
18
18
You can’t perform that action at this time.
0 commit comments