@@ -107,10 +107,7 @@ def create_standard_nonlinux_variants() -> list[BuildVariant]:
107107def create_free_threaded_variants () -> list [BuildVariant ]:
108108 variants = []
109109 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"
114111 tasks = [".free-threading" ]
115112 tags = []
116113 if host_name == "rhel8" :
@@ -300,12 +297,12 @@ def create_green_framework_variants():
300297 variants = []
301298 host = DEFAULT_HOST
302299 for framework in ["eventlet" , "gevent" ]:
303- tasks = [".test-standard .standalone-noauth-nossl" ]
300+ tasks = [".test-standard .standalone-noauth-nossl .sync " ]
304301 if framework == "eventlet" :
305302 # Eventlet has issues with dnspython > 2.0 and newer versions of CPython
306303 # 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 )
309306 display_name = get_variant_name (f"Green { framework .capitalize ()} " , host )
310307 variant = create_variant (tasks , display_name , host = host , expansions = expansions )
311308 variants .append (variant )
@@ -636,20 +633,15 @@ def create_test_non_standard_tasks():
636633def create_standard_tasks ():
637634 """For variants that do not set a TEST_NAME."""
638635 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
649640 ):
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 ))
651643
652- for version , topology , python , sync , pr in task_combos :
644+ for version , topology , python , sync , pr in sorted ( task_combos ) :
653645 auth , ssl = get_standard_auth_ssl (topology )
654646 tags = [
655647 "test-standard" ,
0 commit comments