Skip to content

Commit 247284e

Browse files
chore(NODE-6502) Address two other usages of system python (#4324)
Co-authored-by: Bailey Pearson <[email protected]>
1 parent 48ed47e commit 247284e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.evergreen/run-azure-kms-mock-server.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ if [ -z ${DRIVERS_TOOLS+omitted} ]; then echo "DRIVERS_TOOLS is unset" && exit 1
44

55
set -o errexit
66

7-
python3 $DRIVERS_TOOLS/.evergreen/csfle/bottle.py fake_azure:imds &
7+
pushd $DRIVERS_TOOLS/.evergreen/csfle
8+
. ./activate-kmstlsvenv.sh
9+
python bottle.py fake_azure:imds &
10+
popd
811

912
echo "Running Azure KMS idms server on port 8080"

.evergreen/run-socks5-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function setup_fle() {
3030

3131
node -v
3232

33-
PYTHON_BINARY=${PYTHON_BINARY:-python3}
33+
PYTHON_BINARY=$(bash -c ". $DRIVERS_TOOLS/.evergreen/find-python3.sh && ensure_python3 2>/dev/null")
3434

3535
# ssl setup
3636
SSL=${SSL:-nossl}

0 commit comments

Comments
 (0)