@@ -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 (
@@ -575,6 +575,8 @@ def create_server_version_tasks():
575575 seen .add (combo )
576576 tags .append ("pr" )
577577 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology )
578+ if python == ALL_PYTHONS [0 ]:
579+ expansions ["TEST_MIN_DEPS" ] = "1"
578580 if "t" in python :
579581 tags .append ("free-threaded" )
580582 if python not in PYPYS and "t" not in python :
@@ -640,6 +642,8 @@ def create_test_non_standard_tasks():
640642 if pr :
641643 tags .append ("pr" )
642644 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology , VERSION = version )
645+ if python == ALL_PYTHONS [0 ]:
646+ expansions ["TEST_MIN_DEPS" ] = "1"
643647 name = get_task_name ("test-non-standard" , python = python , ** expansions )
644648 server_func = FunctionCall (func = "run server" , vars = expansions )
645649 test_vars = expansions .copy ()
@@ -680,6 +684,8 @@ def create_test_standard_auth_tasks():
680684 if pr :
681685 tags .append ("pr" )
682686 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology , VERSION = version )
687+ if python == ALL_PYTHONS [0 ]:
688+ expansions ["TEST_MIN_DEPS" ] = "1"
683689 name = get_task_name ("test-standard-auth" , python = python , ** expansions )
684690 server_func = FunctionCall (func = "run server" , vars = expansions )
685691 test_vars = expansions .copy ()
@@ -689,22 +695,6 @@ def create_test_standard_auth_tasks():
689695 return tasks
690696
691697
692- def create_min_deps_tasks ():
693- """For variants that support testing with minimum dependencies."""
694- tasks = []
695- for topology in TOPOLOGIES :
696- auth , ssl = get_standard_auth_ssl (topology )
697- tags = ["test-min-deps" , f"{ topology } -{ auth } -{ ssl } " ]
698- expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology )
699- server_func = FunctionCall (func = "run server" , vars = expansions )
700- test_vars = expansions .copy ()
701- test_vars ["TEST_MIN_DEPS" ] = "1"
702- name = get_task_name ("test-min-deps" , python = CPYTHONS [0 ], sync = "sync" , ** test_vars )
703- test_func = FunctionCall (func = "run tests" , vars = test_vars )
704- tasks .append (EvgTask (name = name , tags = tags , commands = [server_func , test_func ]))
705- return tasks
706-
707-
708698def create_standard_tasks ():
709699 """For variants that do not set a TEST_NAME."""
710700 tasks = []
@@ -732,6 +722,8 @@ def create_standard_tasks():
732722 if pr :
733723 tags .append ("pr" )
734724 expansions = dict (AUTH = auth , SSL = ssl , TOPOLOGY = topology , VERSION = version )
725+ if python == ALL_PYTHONS [0 ]:
726+ expansions ["TEST_MIN_DEPS" ] = "1"
735727 name = get_task_name ("test-standard" , python = python , sync = sync , ** expansions )
736728 server_func = FunctionCall (func = "run server" , vars = expansions )
737729 test_vars = expansions .copy ()
@@ -749,9 +741,11 @@ def create_no_orchestration_tasks():
749741 "test-no-orchestration" ,
750742 f"python-{ python } " ,
751743 ]
752- name = get_task_name ("test-no-orchestration" , python = python )
753744 assume_func = FunctionCall (func = "assume ec2 role" )
754745 test_vars = dict (TOOLCHAIN_VERSION = python )
746+ if python == ALL_PYTHONS [0 ]:
747+ test_vars ["TEST_MIN_DEPS" ] = "1"
748+ name = get_task_name ("test-no-orchestration" , ** test_vars )
755749 test_func = FunctionCall (func = "run tests" , vars = test_vars )
756750 commands = [assume_func , test_func ]
757751 tasks .append (EvgTask (name = name , tags = tags , commands = commands ))
@@ -799,8 +793,10 @@ def create_aws_tasks():
799793 tags = [* base_tags , f"auth-aws-{ test_type } " ]
800794 if "t" in python :
801795 tags .append ("free-threaded" )
802- name = get_task_name (f"{ base_name } -{ test_type } " , python = python )
803796 test_vars = dict (TEST_NAME = "auth_aws" , SUB_TEST_NAME = test_type , TOOLCHAIN_VERSION = python )
797+ if python == ALL_PYTHONS [0 ]:
798+ test_vars ["TEST_MIN_DEPS" ] = "1"
799+ name = get_task_name (f"{ base_name } -{ test_type } " , ** test_vars )
804800 test_func = FunctionCall (func = "run tests" , vars = test_vars )
805801 funcs = [server_func , assume_func , test_func ]
806802 tasks .append (EvgTask (name = name , tags = tags , commands = funcs ))
@@ -879,6 +875,8 @@ def _create_ocsp_tasks(algo, variant, server_type, base_task_name):
879875 TOOLCHAIN_VERSION = python ,
880876 VERSION = version ,
881877 )
878+ if python == ALL_PYTHONS [0 ]:
879+ vars ["TEST_MIN_DEPS" ] = "1"
882880 test_func = FunctionCall (func = "run tests" , vars = vars )
883881
884882 tags = ["ocsp" , f"ocsp-{ algo } " , version ]
@@ -887,11 +885,7 @@ def _create_ocsp_tasks(algo, variant, server_type, base_task_name):
887885 if algo == "valid-cert-server-staples" and version == "latest" :
888886 tags .append ("pr" )
889887
890- task_name = get_task_name (
891- f"test-ocsp-{ algo } -{ base_task_name } " ,
892- python = python ,
893- version = version ,
894- )
888+ task_name = get_task_name (f"test-ocsp-{ algo } -{ base_task_name } " , ** vars )
895889 tasks .append (EvgTask (name = task_name , tags = tags , commands = [test_func ]))
896890
897891 return tasks
0 commit comments