@@ -107,10 +107,7 @@ def create_standard_nonlinux_variants() -> list[BuildVariant]:
107
107
def create_free_threaded_variants () -> list [BuildVariant ]:
108
108
variants = []
109
109
for host_name in ("rhel8" , "macos" , "macos-arm64" , "win64" ):
110
- if host_name == "win64" :
111
- python = "3.14t"
112
- else :
113
- python = "3.13t"
110
+ python = "3.14t"
114
111
tasks = [".free-threading" ]
115
112
tags = []
116
113
if host_name == "rhel8" :
@@ -300,12 +297,12 @@ def create_green_framework_variants():
300
297
variants = []
301
298
host = DEFAULT_HOST
302
299
for framework in ["eventlet" , "gevent" ]:
303
- tasks = [".test-standard .standalone-noauth-nossl" ]
300
+ tasks = [".test-standard .standalone-noauth-nossl .sync " ]
304
301
if framework == "eventlet" :
305
302
# Eventlet has issues with dnspython > 2.0 and newer versions of CPython
306
303
# https://jira.mongodb.org/browse/PYTHON-5284
307
- tasks = [".test-standard .standalone-noauth-nossl .python-3.9" ]
308
- expansions = dict (GREEN_FRAMEWORK = framework , AUTH = "auth" , SSL = "ssl" )
304
+ tasks = [".test-standard .standalone-noauth-nossl .python-3.9 .sync " ]
305
+ expansions = dict (GREEN_FRAMEWORK = framework )
309
306
display_name = get_variant_name (f"Green { framework .capitalize ()} " , host )
310
307
variant = create_variant (tasks , display_name , host = host , expansions = expansions )
311
308
variants .append (variant )
@@ -636,20 +633,15 @@ def create_test_non_standard_tasks():
636
633
def create_standard_tasks ():
637
634
"""For variants that do not set a TEST_NAME."""
638
635
tasks = []
639
- task_combos = []
640
- # For each version and topology, rotate through the CPythons and sync/async.
641
- for (version , topology ), python , sync in zip_cycle (
642
- list (product (ALL_VERSIONS , TOPOLOGIES )), CPYTHONS , SYNCS
643
- ):
644
- pr = version == "latest"
645
- task_combos .append ((version , topology , python , sync , pr ))
646
- # For each PyPy and topology, rotate through the the versions and sync/async.
647
- for (python , topology ), version , sync in zip_cycle (
648
- list (product (PYPYS , TOPOLOGIES )), ALL_VERSIONS , SYNCS
636
+ task_combos = set ()
637
+ # For each python and topology and sync/async, rotate through the the versions.
638
+ for (python , topology , sync ), version in zip_cycle (
639
+ list (product (CPYTHONS + PYPYS , TOPOLOGIES , SYNCS )), ALL_VERSIONS
649
640
):
650
- task_combos .append ((version , topology , python , sync , False ))
641
+ pr = version == "latest" and python not in PYPYS
642
+ task_combos .add ((version , topology , python , sync , pr ))
651
643
652
- for version , topology , python , sync , pr in task_combos :
644
+ for version , topology , python , sync , pr in sorted ( task_combos ) :
653
645
auth , ssl = get_standard_auth_ssl (topology )
654
646
tags = [
655
647
"test-standard" ,
0 commit comments