From 806fe5b7496e119142bbbc3f7392b5a46e0fcb6d Mon Sep 17 00:00:00 2001 From: bailey Date: Thu, 25 Sep 2025 09:58:46 -0600 Subject: [PATCH] specify python --- .evergreen/install-mongodb-client-encryption.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.evergreen/install-mongodb-client-encryption.sh b/.evergreen/install-mongodb-client-encryption.sh index 1bea94950b8..46d7dd0a629 100644 --- a/.evergreen/install-mongodb-client-encryption.sh +++ b/.evergreen/install-mongodb-client-encryption.sh @@ -15,6 +15,13 @@ pushd mongodb-client-encryption node --version npm --version +# https://github.com/nodejs/node-gyp#configuring-python-dependency +. $DRIVERS_TOOLS/.evergreen/find-python3.sh +NODE_GYP_FORCE_PYTHON=$(find_python3) +export NODE_GYP_FORCE_PYTHON + +echo "NODE_GYP_FORCE_PYTHON: $NODE_GYP_FORCE_PYTHON" + if [ -n "${LIBMONGOCRYPT_VERSION}" ]; then # nightly tests test with `latest` to test against the laster FLE build. npm run install:libmongocrypt -- --build --libVersion $LIBMONGOCRYPT_VERSION