@@ -79,17 +79,6 @@ functions:
7979 export PATH="$MONGODB_BINARIES:$PATH"
8080 export PROJECT="${project}"
8181 export PIP_QUIET=1
82- ENSURE_TOOLCHAIN_PYTHON_BINARY: |
83- # Make sure PYTHON_BINARY is set to a suitable toolchain python.
84- if [ -z "$PYTHON_BINARY" ]; then
85- if [ "$(uname -s)" = "Darwin" ]; then
86- export PYTHON_BINARY=/Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
87- elif [ "Windows_NT" = "$OS" ]; then # Magic variable in cygwin
88- export PYTHON_BINARY=/cygdrive/c/python/Python39/python
89- else
90- export PYTHON_BINARY=/opt/python/3.9/bin/python3
91- fi
92- fi
9382 EOT
9483
9584 # Load the expansion file to make an evergreen variable with the current unique version
@@ -502,12 +491,8 @@ functions:
502491 export DB_PASSWORD="${DRIVERS_ATLAS_LAMBDA_PASSWORD}"
503492 fi
504493
505- export PYTHON_BINARY=${PYTHON_BINARY}
506- if [ -z "$PYTHON_BINARY" ]; then
507- export PYTHON_BINARY=${python3_binary}
508- fi
509-
510494 GREEN_FRAMEWORK=${GREEN_FRAMEWORK} \
495+ PYTHON_BINARY=${PYTHON_BINARY} \
511496 C_EXTENSIONS=${C_EXTENSIONS} \
512497 COVERAGE=${COVERAGE} \
513498 COMPRESSORS=${COMPRESSORS} \
@@ -678,7 +663,6 @@ functions:
678663 include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
679664 script : |
680665 ${PREPARE_SHELL}
681- ${ENSURE_TOOLCHAIN_PYTHON_BINARY}
682666 bash .evergreen/run-mongodb-oidc-test.sh
683667
684668 " run aws auth test with aws credentials as environment variables " :
@@ -1630,8 +1614,6 @@ tasks:
16301614 tags : ["no-server"]
16311615 commands :
16321616 - func : " run tests"
1633- vars :
1634- PYTHON_BINARY : /opt/python/3.7/bin/python3
16351617
16361618 - name : " atlas-connect"
16371619 tags : ["atlas-connect"]
@@ -2108,7 +2090,6 @@ tasks:
21082090 vars :
21092091 VERSION : " latest"
21102092 TOPOLOGY : " server"
2111- PYTHON_BINARY : " /opt/mongodbtoolchain/v3/bin/python3"
21122093 - func : " run tests"
21132094# }}}
21142095 - name : " coverage-report"
@@ -2260,7 +2241,6 @@ axes:
22602241 skip_EC2_auth_test : true
22612242 skip_ECS_auth_test : true
22622243 skip_web_identity_auth_test : true
2263- python3_binary : /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
22642244 libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/macos/master/latest/libmongocrypt.tar.gz
22652245 - id : macos-1100
22662246 display_name : " macOS 11.00"
@@ -2269,7 +2249,6 @@ axes:
22692249 skip_EC2_auth_test : true
22702250 skip_ECS_auth_test : true
22712251 skip_web_identity_auth_test : true
2272- python3_binary : /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
22732252 libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/macos/master/latest/libmongocrypt.tar.gz
22742253 - id : macos-1100-arm64
22752254 display_name : " macOS 11.00 Arm64"
@@ -2278,21 +2257,18 @@ axes:
22782257 skip_EC2_auth_test : true
22792258 skip_ECS_auth_test : true
22802259 skip_web_identity_auth_test : true
2281- python3_binary : /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
22822260 libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/macos/master/latest/libmongocrypt.tar.gz
22832261 - id : rhel7
22842262 display_name : " RHEL 7.x"
22852263 run_on : rhel79-small
22862264 batchtime : 10080 # 7 days
22872265 variables :
2288- python3_binary : " /opt/python/3.8/bin/python3"
22892266 libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/rhel-70-64-bit/master/latest/libmongocrypt.tar.gz
22902267 - id : rhel8
22912268 display_name : " RHEL 8.x"
22922269 run_on : rhel87-small
22932270 batchtime : 10080 # 7 days
22942271 variables :
2295- python3_binary : " /opt/python/3.8/bin/python3"
22962272 libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/rhel-80-64-bit/master/latest/libmongocrypt.tar.gz
22972273 - id : rhel80-fips
22982274 display_name : " RHEL 8.0 FIPS"
@@ -2304,14 +2280,10 @@ axes:
23042280 display_name : " Ubuntu 22.04"
23052281 run_on : ubuntu2204-small
23062282 batchtime : 10080 # 7 days
2307- variables :
2308- python3_binary : python3
23092283 - id : ubuntu-18.04
23102284 display_name : " Ubuntu 18.04"
23112285 run_on : ubuntu1804-small
23122286 batchtime : 10080 # 7 days
2313- variables :
2314- python3_binary : python3
23152287 - id : rhel83-zseries
23162288 display_name : " RHEL 8.3 (zSeries)"
23172289 run_on : rhel83-zseries-small
@@ -2334,7 +2306,6 @@ axes:
23342306 skip_ECS_auth_test : true
23352307 skip_EC2_auth_test : true
23362308 skip_web_identity_auth_test : true
2337- python3_binary : " C:/python/Python38/python.exe"
23382309 venv_bin_dir : " Scripts"
23392310 libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/windows-test/master/latest/libmongocrypt.tar.gz
23402311
@@ -2476,14 +2447,6 @@ axes:
24762447 variables :
24772448 PYTHON_BINARY : " /opt/python/pypy3.10/bin/pypy3"
24782449
2479- - id : python-version-mac
2480- display_name : " Python"
2481- values :
2482- - id : " system-python3"
2483- display_name : " Python3"
2484- variables :
2485- PYTHON_BINARY : " python3"
2486-
24872450 - id : python-version-windows
24882451 display_name : " Python"
24892452 values :
@@ -3166,7 +3129,6 @@ buildvariants:
31663129- matrix_name : " aws-auth-test-mac"
31673130 matrix_spec :
31683131 platform : [macos-1014]
3169- python-version-mac : ["system-python3"]
31703132 display_name : " MONGODB-AWS Auth ${platform} ${python-version-mac}"
31713133 tasks :
31723134 - name : " aws-auth-test-4.4"
0 commit comments