Skip to content

Commit 36609b1

Browse files
ci: use python 3.7+ when building mongodb-client-encryption (#4681)
1 parent 6986355 commit 36609b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.evergreen/install-mongodb-client-encryption.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ pushd mongodb-client-encryption
1515
node --version
1616
npm --version
1717

18+
# https://github.com/nodejs/node-gyp#configuring-python-dependency
19+
. $DRIVERS_TOOLS/.evergreen/find-python3.sh
20+
NODE_GYP_FORCE_PYTHON=$(find_python3)
21+
export NODE_GYP_FORCE_PYTHON
22+
23+
echo "NODE_GYP_FORCE_PYTHON: $NODE_GYP_FORCE_PYTHON"
24+
1825
if [ -n "${LIBMONGOCRYPT_VERSION}" ]; then
1926
# nightly tests test with `latest` to test against the laster FLE build.
2027
npm run install:libmongocrypt -- --build --libVersion $LIBMONGOCRYPT_VERSION

0 commit comments

Comments
 (0)