diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 3f29391373..3f498ba3fa 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -206,9 +206,9 @@ functions: params: binary: bash working_dir: "src" - include_expansions_in_env: [VERSION, TOPOLOGY, AUTH, SSL, ORCHESTRATION_FILE, + include_expansions_in_env: [VERSION, TOPOLOGY, AUTH, SSL, ORCHESTRATION_FILE, PYTHON_BINARY, STORAGE_ENGINE, REQUIRE_API_VERSION, DRIVERS_TOOLS, TEST_CRYPT_SHARED, AUTH_AWS, LOAD_BALANCER] - args: [.evergreen/just.sh, run-server, "${TEST_NAME}", "${SUB_TEST_NAME}"] + args: [.evergreen/just.sh, run-server, "${TEST_NAME}"] - command: expansions.update params: file: ${DRIVERS_TOOLS}/mo-expansion.yml diff --git a/.evergreen/scripts/run-mod-wsgi-tests.sh b/.evergreen/scripts/run-mod-wsgi-tests.sh index 607458b8c6..f59ace8116 100755 --- a/.evergreen/scripts/run-mod-wsgi-tests.sh +++ b/.evergreen/scripts/run-mod-wsgi-tests.sh @@ -22,7 +22,8 @@ PYTHON_VERSION=$(${PYTHON_BINARY} -c "import sys; sys.stdout.write('.'.join(str( ${PYTHON_BINARY} -m venv --system-site-packages .venv source .venv/bin/activate pip install -U pip -python -m pip install -e . +export PYMONGO_C_EXT_MUST_BUILD=1 +python -m pip install -v -e . export MOD_WSGI_SO=/opt/python/mod_wsgi/python_version/$PYTHON_VERSION/mod_wsgi_version/$MOD_WSGI_VERSION/mod_wsgi.so export PYTHONHOME=/opt/python/$PYTHON_VERSION