@@ -128,7 +128,7 @@ def get_encryption_expansions(encryption):
128128 ):
129129 expansions = get_encryption_expansions (encryption )
130130 display_name = get_variant_name (encryption , host , ** expansions )
131- tasks = [".test-non-standard" , ".test-min-deps" ]
131+ tasks = [".test-non-standard" ]
132132 if host != "rhel8" :
133133 tasks = [".test-non-standard !.pypy" ]
134134 variant = create_variant (
@@ -581,6 +581,8 @@ def create_server_version_tasks():
581581 seen .add (combo )
582582 tags .append ("pr" )
583583 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology )
584+ if python == ALL_PYTHONS [0 ]:
585+ expansions ["TEST_MIN_DEPS" ] = "1"
584586 if "t" in python :
585587 tags .append ("free-threaded" )
586588 if python not in PYPYS and "t" not in python :
@@ -646,6 +648,8 @@ def create_test_non_standard_tasks():
646648 if pr :
647649 tags .append ("pr" )
648650 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology , VERSION = version )
651+ if python == ALL_PYTHONS [0 ]:
652+ expansions ["TEST_MIN_DEPS" ] = "1"
649653 name = get_task_name ("test-non-standard" , python = python , ** expansions )
650654 server_func = FunctionCall (func = "run server" , vars = expansions )
651655 test_vars = expansions .copy ()
@@ -686,6 +690,8 @@ def create_test_standard_auth_tasks():
686690 if pr :
687691 tags .append ("pr" )
688692 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology , VERSION = version )
693+ if python == ALL_PYTHONS [0 ]:
694+ expansions ["TEST_MIN_DEPS" ] = "1"
689695 name = get_task_name ("test-standard-auth" , python = python , ** expansions )
690696 server_func = FunctionCall (func = "run server" , vars = expansions )
691697 test_vars = expansions .copy ()
@@ -695,22 +701,6 @@ def create_test_standard_auth_tasks():
695701 return tasks
696702
697703
698- def create_min_deps_tasks ():
699- """For variants that support testing with minimum dependencies."""
700- tasks = []
701- for topology in TOPOLOGIES :
702- auth , ssl = get_standard_auth_ssl (topology )
703- tags = ["test-min-deps" , f"{ topology } -{ auth } -{ ssl } " ]
704- expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology )
705- server_func = FunctionCall (func = "run server" , vars = expansions )
706- test_vars = expansions .copy ()
707- test_vars ["TEST_MIN_DEPS" ] = "1"
708- name = get_task_name ("test-min-deps" , python = CPYTHONS [0 ], sync = "sync" , ** test_vars )
709- test_func = FunctionCall (func = "run tests" , vars = test_vars )
710- tasks .append (EvgTask (name = name , tags = tags , commands = [server_func , test_func ]))
711- return tasks
712-
713-
714704def create_standard_tasks ():
715705 """For variants that do not set a TEST_NAME."""
716706 tasks = []
@@ -738,6 +728,8 @@ def create_standard_tasks():
738728 if pr :
739729 tags .append ("pr" )
740730 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology , VERSION = version )
731+ if python == ALL_PYTHONS [0 ]:
732+ expansions ["TEST_MIN_DEPS" ] = "1"
741733 name = get_task_name ("test-standard" , python = python , sync = sync , ** expansions )
742734 server_func = FunctionCall (func = "run server" , vars = expansions )
743735 test_vars = expansions .copy ()
@@ -755,9 +747,11 @@ def create_no_orchestration_tasks():
755747 "test-no-orchestration" ,
756748 f"python-{ python } " ,
757749 ]
758- name = get_task_name ("test-no-orchestration" , python = python )
759750 assume_func = FunctionCall (func = "assume ec2 role" )
760751 test_vars = dict (TOOLCHAIN_VERSION = python )
752+ if python == ALL_PYTHONS [0 ]:
753+ test_vars ["TEST_MIN_DEPS" ] = "1"
754+ name = get_task_name ("test-no-orchestration" , ** test_vars )
761755 test_func = FunctionCall (func = "run tests" , vars = test_vars )
762756 commands = [assume_func , test_func ]
763757 tasks .append (EvgTask (name = name , tags = tags , commands = commands ))
@@ -805,8 +799,10 @@ def create_aws_tasks():
805799 tags = [* base_tags , f"auth-aws-{ test_type } " ]
806800 if "t" in python :
807801 tags .append ("free-threaded" )
808- name = get_task_name (f"{ base_name } -{ test_type } " , python = python )
809802 test_vars = dict (TEST_NAME = "auth_aws" , SUB_TEST_NAME = test_type , TOOLCHAIN_VERSION = python )
803+ if python == ALL_PYTHONS [0 ] and test_type != "ecs" :
804+ test_vars ["TEST_MIN_DEPS" ] = "1"
805+ name = get_task_name (f"{ base_name } -{ test_type } " , ** test_vars )
810806 test_func = FunctionCall (func = "run tests" , vars = test_vars )
811807 funcs = [server_func , assume_func , test_func ]
812808 tasks .append (EvgTask (name = name , tags = tags , commands = funcs ))
@@ -885,6 +881,8 @@ def _create_ocsp_tasks(algo, variant, server_type, base_task_name):
885881 TOOLCHAIN_VERSION = python ,
886882 VERSION = version ,
887883 )
884+ if python == ALL_PYTHONS [0 ]:
885+ vars ["TEST_MIN_DEPS" ] = "1"
888886 test_func = FunctionCall (func = "run tests" , vars = vars )
889887
890888 tags = ["ocsp" , f"ocsp-{ algo } " , version ]
@@ -893,11 +891,7 @@ def _create_ocsp_tasks(algo, variant, server_type, base_task_name):
893891 if algo == "valid-cert-server-staples" and version == "latest" :
894892 tags .append ("pr" )
895893
896- task_name = get_task_name (
897- f"test-ocsp-{ algo } -{ base_task_name } " ,
898- python = python ,
899- version = version ,
900- )
894+ task_name = get_task_name (f"test-ocsp-{ algo } -{ base_task_name } " , ** vars )
901895 tasks .append (EvgTask (name = task_name , tags = tags , commands = [test_func ]))
902896
903897 return tasks
0 commit comments