From 1ab0010df206cee117de49b522abda832e62612a Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 3 Jun 2022 10:04:57 -0700 Subject: [PATCH] Remove "minimumPipVersion" code (everything is "new enough" now) --- versions.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/versions.sh b/versions.sh index 8917f8f08..f5547481d 100755 --- a/versions.sh +++ b/versions.sh @@ -3,9 +3,8 @@ set -Eeuo pipefail shopt -s nullglob # https://github.com/docker-library/python/issues/365 -minimumPipVersion='21.2.4' minimumSetuptoolsVersion='57.5.0' -# for historical reasons, these get pinned to either the version bundled with each Python version or these, whichever is higher +# for historical reasons, setuptools gets pinned to either the version bundled with each Python version or this, whichever is higher cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" @@ -137,12 +136,7 @@ for version in "${versions[@]}"; do exit 1 fi - pipVersion="$( - { - echo "$pipVersion" - echo "$minimumPipVersion" - } | sort -rV | head -1 - )" + # TODO remove this once Python 3.7 and 3.8 are either "new enough setuptools" or EOL setuptoolsVersion="$( { echo "$setuptoolsVersion"