Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions 10 versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")")"

Expand Down Expand Up @@ -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"
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.