Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ab0010

Browse files
committed
Remove "minimumPipVersion" code (everything is "new enough" now)
1 parent c60cb30 commit 1ab0010

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

versions.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ set -Eeuo pipefail
33
shopt -s nullglob
44

55
# https://github.com/docker-library/python/issues/365
6-
minimumPipVersion='21.2.4'
76
minimumSetuptoolsVersion='57.5.0'
8-
# for historical reasons, these get pinned to either the version bundled with each Python version or these, whichever is higher
7+
# for historical reasons, setuptools gets pinned to either the version bundled with each Python version or this, whichever is higher
98

109
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
1110

@@ -137,12 +136,7 @@ for version in "${versions[@]}"; do
137136
exit 1
138137
fi
139138

140-
pipVersion="$(
141-
{
142-
echo "$pipVersion"
143-
echo "$minimumPipVersion"
144-
} | sort -rV | head -1
145-
)"
139+
# TODO remove this once Python 3.7 and 3.8 are either "new enough setuptools" or EOL
146140
setuptoolsVersion="$(
147141
{
148142
echo "$setuptoolsVersion"

0 commit comments

Comments
 (0)