Skip to content

Commit 7fe15d7

Browse files
committed
fix python ver handling
1 parent ee60b45 commit 7fe15d7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ tasks:
508508
- func: run server
509509
vars:
510510
TOPOLOGY: replica_set
511+
PYTHON_VERSION: "3.9"
511512
- func: run tests
512513
vars:
513514
TEST_NAME: mod_wsgi
@@ -519,6 +520,7 @@ tasks:
519520
- func: run server
520521
vars:
521522
TOPOLOGY: replica_set
523+
PYTHON_VERSION: "3.10"
522524
- func: run tests
523525
vars:
524526
TEST_NAME: mod_wsgi
@@ -530,6 +532,7 @@ tasks:
530532
- func: run server
531533
vars:
532534
TOPOLOGY: replica_set
535+
PYTHON_VERSION: "3.11"
533536
- func: run tests
534537
vars:
535538
TEST_NAME: mod_wsgi
@@ -541,6 +544,7 @@ tasks:
541544
- func: run server
542545
vars:
543546
TOPOLOGY: replica_set
547+
PYTHON_VERSION: "3.12"
544548
- func: run tests
545549
vars:
546550
TEST_NAME: mod_wsgi
@@ -552,6 +556,7 @@ tasks:
552556
- func: run server
553557
vars:
554558
TOPOLOGY: replica_set
559+
PYTHON_VERSION: "3.13"
555560
- func: run tests
556561
vars:
557562
TEST_NAME: mod_wsgi

.evergreen/scripts/generate_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def create_mod_wsgi_tasks():
799799
task_name = "mod-wsgi-embedded-mode-"
800800
task_name += topology.replace("_", "-")
801801
task_name = get_task_name(task_name, python=python)
802-
server_vars = dict(TOPOLOGY=topology)
802+
server_vars = dict(TOPOLOGY=topology, PYTHON_VERSION=python)
803803
server_func = FunctionCall(func="run server", vars=server_vars)
804804
vars = dict(TEST_NAME="mod_wsgi", SUB_TEST_NAME=test.split("-")[0], PYTHON_VERSION=python)
805805
test_func = FunctionCall(func="run tests", vars=vars)

0 commit comments

Comments
 (0)