File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ if [[ -n "$MONOGDB_DRIVER_VERSION_OVERRIDE" ]]; then
1818 npm i --verbose --force
1919fi
2020
21+ # Needed to ensure Python 3.6 support which is the oldest one that's available out-of-the-box on the rhel70 hosts.
22+ if [[ " ${DISTRO_ID} " =~ ^(rhel7) ]] && [[ " $NODE_JS_VERSION " =~ ^20 ]]; then
23+ export REPLACE_PACKAGE=" node-gyp:9.0.0"
24+ npm run replace-package
25+
26+ npm i --verbose --force
27+ fi
28+
2129# if we rewrote this script in javascript using just builtin node modules we could skip the npm ci above
2230npm run mark-ci-required-optional-dependencies
2331
@@ -30,4 +38,4 @@ npm run mark-ci-required-optional-dependencies
3038npm run evergreen-release bump
3139
3240echo " npm packages after installation"
33- npm ls || true
41+ npm ls || true
You can’t perform that action at this time.
0 commit comments