SERVER-116986: Upgrade pip and wheel to latest stable versions (#46247)

GitOrigin-RevId: 45fc74ba67f29e7c45a3ffb4782d3c258844d828
This commit is contained in:
Nick Jefferies
2026-01-15 11:57:09 -05:00
committed by MongoDB Bot
parent 07d1b730b6
commit f59f82292c

View File

@@ -95,13 +95,13 @@ export VIRTUAL_ENV_DISABLE_PROMPT=yes
. "$evergreen_dir/prelude_venv.sh"
activate_venv
echo "Upgrading pip to 21.0.1"
echo "Upgrading pip to 25.3 and wheel to 0.45.1"
# Loop 5 times to retry the pip install
# We have seen weird network errors that can sometimes mess up the pip install
# By retrying we would like to only see errors that happen consistently
for i in {1..5}; do
python -m pip --disable-pip-version-check install "pip==21.0.1" "wheel==0.37.0" && RET=0 && break || RET=$? && sleep 1
python -m pip --disable-pip-version-check install "pip==25.3" "wheel==0.45.1" && RET=0 && break || RET=$? && sleep 1
echo "Python failed to install pip and wheel, retrying..."
done