Skip to content

Commit 38127f4

Browse files
authored
PYTHON-5193 & PYTHON-5192 Fix run-server usage (#2187)
1 parent f69e1f6 commit 38127f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ functions:
206206
params:
207207
binary: bash
208208
working_dir: "src"
209-
include_expansions_in_env: [VERSION, TOPOLOGY, AUTH, SSL, ORCHESTRATION_FILE,
209+
include_expansions_in_env: [VERSION, TOPOLOGY, AUTH, SSL, ORCHESTRATION_FILE, PYTHON_BINARY,
210210
STORAGE_ENGINE, REQUIRE_API_VERSION, DRIVERS_TOOLS, TEST_CRYPT_SHARED, AUTH_AWS, LOAD_BALANCER]
211-
args: [.evergreen/just.sh, run-server, "${TEST_NAME}", "${SUB_TEST_NAME}"]
211+
args: [.evergreen/just.sh, run-server, "${TEST_NAME}"]
212212
- command: expansions.update
213213
params:
214214
file: ${DRIVERS_TOOLS}/mo-expansion.yml

.evergreen/scripts/run-mod-wsgi-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ PYTHON_VERSION=$(${PYTHON_BINARY} -c "import sys; sys.stdout.write('.'.join(str(
2222
${PYTHON_BINARY} -m venv --system-site-packages .venv
2323
source .venv/bin/activate
2424
pip install -U pip
25-
python -m pip install -e .
25+
export PYMONGO_C_EXT_MUST_BUILD=1
26+
python -m pip install -v -e .
2627

2728
export MOD_WSGI_SO=/opt/python/mod_wsgi/python_version/$PYTHON_VERSION/mod_wsgi_version/$MOD_WSGI_VERSION/mod_wsgi.so
2829
export PYTHONHOME=/opt/python/$PYTHON_VERSION

0 commit comments

Comments
 (0)