@@ -68,13 +68,10 @@ function printCompassEnv() {
6868 }
6969
7070 if ( process . env . PLATFORM === 'linux' ) {
71- // To build node modules on linux post electron 13 we need
72- // a newer c++ compiler version , this adds it.
71+ // To build node modules on linux post electron 13 we need a newer c++
72+ // compiler version and at least python v3.9 , this adds it.
7373 // https://jira.mongodb.org/browse/COMPASS-5150
7474 pathsToPrepend . unshift ( '/opt/mongodbtoolchain/v3/bin' ) ;
75-
76- // Make sure that linux is using python 3.6 (node-gyp requirement)
77- pathsToPrepend . unshift ( '/opt/python/3.6/bin' ) ;
7875 }
7976
8077 PATH = maybePrependPaths ( PATH , pathsToPrepend ) ;
@@ -103,10 +100,16 @@ function printCompassEnv() {
103100 printVar ( 'IS_RHEL' , process . env . IS_RHEL ) ;
104101 printVar ( 'IS_UBUNTU' , process . env . IS_UBUNTU ) ;
105102 printVar ( 'DEBUG' , process . env . DEBUG ) ;
106- printVar ( 'MONGODB_VERSION' , process . env . MONGODB_VERSION || process . env . MONGODB_DEFAULT_VERSION ) ;
103+ printVar (
104+ 'MONGODB_VERSION' ,
105+ process . env . MONGODB_VERSION || process . env . MONGODB_DEFAULT_VERSION
106+ ) ;
107107 printVar ( 'DEV_VERSION_IDENTIFIER' , process . env . DEV_VERSION_IDENTIFIER ) ;
108108 printVar ( 'EVERGREEN_REVISION' , process . env . EVERGREEN_REVISION ) ;
109- printVar ( 'EVERGREEN_REVISION_ORDER_ID' , process . env . EVERGREEN_REVISION_ORDER_ID ) ;
109+ printVar (
110+ 'EVERGREEN_REVISION_ORDER_ID' ,
111+ process . env . EVERGREEN_REVISION_ORDER_ID
112+ ) ;
110113
111114 if ( process . platform === 'darwin' ) {
112115 // Without this, kerberos 2.1.1 is broken on macOS, but this flag is only
0 commit comments