From 284990d882310bea6eaa850193ea6a3736729918 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 14 Oct 2026 10:25:02 +0000 Subject: [PATCH] PYTHON-6170 Fix ensure_uv in ECS test container by installing python3-pip Commit 045ee2af (PYTHON-6051) made ensure_uv run inside the ECS test container. Its Debian-based Python 3.12 image has neither a pip module nor ensurepip, so uv cannot be installed there and setup exits non-zero. Add python3-pip so ensure_uv's pip install --user branch works. --- .evergreen/run-mongodb-aws-ecs-test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.evergreen/run-mongodb-aws-ecs-test.sh b/.evergreen/run-mongodb-aws-ecs-test.sh index 83503dbc7b..8b5521155a 100755 --- a/.evergreen/run-mongodb-aws-ecs-test.sh +++ b/.evergreen/run-mongodb-aws-ecs-test.sh @@ -19,10 +19,11 @@ fi # Now we can safely enable xtrace set -o xtrace -# Install a C compiler (for the C extensions) and git (needed by uv to -# resolve the mockupdb git dependency) +# Install a C compiler (for the C extensions), pip (needed by ensure_uv: +# the image's Python has neither pip nor ensurepip), and git (needed by uv +# to resolve the mockupdb git dependency) apt-get -qq update < /dev/null > /dev/null -apt-get -q install -y build-essential git +apt-get -q install -y build-essential git python3-pip export SET_XTRACE_ON=1 export CI=true