File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,18 @@ if uname -p | sed -e 's/s390/matches/' -e 's/ppc/matches/' | grep -q matches; th
33
33
python --version
34
34
fi
35
35
36
+ if [ " $OS " == " Windows_NT" ]; then
37
+ # Windows machines only have Python 3.10 and 2.7, since Python 3.9
38
+ # was removed from them. Python 3.10 support may or may not be
39
+ # backported to Node.js 14: https://github.com/nodejs/node/pull/40296/
40
+ # For now, let's use Python 2.7.
41
+ export PATH=" /cygdrive/c/Python27/Scripts:/cygdrive/c/Python27:$PATH "
42
+ export FORCE_PYTHON2=1
43
+
44
+ echo " Using python version:"
45
+ python --version
46
+ fi
47
+
36
48
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=" true"
37
49
npm run evergreen-release compile
38
50
dist/mongosh --version
Original file line number Diff line number Diff line change 1
1
set -e
2
2
set -x
3
3
export BASEDIR=" $PWD /.evergreen"
4
- export PATH=" $BASEDIR /mingit/cmd:$BASEDIR /mingit/mingw64/libexec/git-core:$BASEDIR /git-2:$BASEDIR /node-v$NODE_JS_VERSION -win-x64:/opt/python/3.6/bin:/opt/chefdk/gitbin:/cygdrive/c/Python39 /Scripts:/cygdrive/c/Python39 :/cygdrive/c/cmake/bin:/opt/mongodbtoolchain/v3/bin:$PATH "
4
+ export PATH=" $BASEDIR /mingit/cmd:$BASEDIR /mingit/mingw64/libexec/git-core:$BASEDIR /git-2:$BASEDIR /node-v$NODE_JS_VERSION -win-x64:/opt/python/3.6/bin:/opt/chefdk/gitbin:/cygdrive/c/Python310 /Scripts:/cygdrive/c/Python310 :/cygdrive/c/cmake/bin:/opt/mongodbtoolchain/v3/bin:$PATH "
5
5
export IS_MONGOSH_EVERGREEN_CI=1
6
6
7
7
if [ " $OS " != " Windows_NT" ]; then
You can’t perform that action at this time.
0 commit comments