@@ -595,7 +595,7 @@ def test_build_layer_with_architecture_not_compatible(self, build_method, use_co
595
595
# Build should still succeed
596
596
self .assertEqual (command_result .process .returncode , 0 )
597
597
598
- @parameterized .expand ([("python3.8 " , False ), ("python3.8 " , "use_container" )])
598
+ @parameterized .expand ([("python3.11 " , False ), ("python3.11 " , "use_container" )])
599
599
def test_build_arch_no_compatible_arch (self , runtime , use_container ):
600
600
# BuildArchitecture is present, but CompatibleArchitectures section is missing
601
601
if use_container and (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD ):
@@ -621,7 +621,7 @@ def test_build_arch_no_compatible_arch(self, runtime, use_container):
621
621
# Build should still succeed
622
622
self .assertEqual (command_result .process .returncode , 0 )
623
623
624
- @parameterized .expand ([("python3.8 " , False ), ("python3.8 " , "use_container" )])
624
+ @parameterized .expand ([("python3.11 " , False ), ("python3.11 " , "use_container" )])
625
625
def test_compatible_arch_no_build_arch (self , runtime , use_container ):
626
626
# CompatibleArchitectures is present, but BuildArchitecture section is missing
627
627
if use_container and (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD ):
@@ -691,7 +691,7 @@ def test_function_build_succeeds_with_referenced_layer(self, use_container):
691
691
if use_container and (SKIP_DOCKER_TESTS or SKIP_DOCKER_BUILD ):
692
692
self .skipTest (SKIP_DOCKER_MESSAGE )
693
693
694
- overrides = {"Runtime" : "python3.8 " , "CodeUri" : "Python" }
694
+ overrides = {"Runtime" : "python3.11 " , "CodeUri" : "Python" }
695
695
696
696
cmdlist = self .get_command_list (
697
697
use_container = use_container , parameter_overrides = overrides , function_identifier = "FunctionTwo"
@@ -1123,7 +1123,7 @@ def test_no_cached_override_build(self):
1123
1123
"FunctionCodeUri" : "Python" ,
1124
1124
"Function1Handler" : "main.first_function_handler" ,
1125
1125
"Function2Handler" : "main.second_function_handler" ,
1126
- "FunctionRuntime" : "python3.8 " ,
1126
+ "FunctionRuntime" : "python3.11 " ,
1127
1127
}
1128
1128
config_file = str (Path (self .test_data_path ).joinpath ("samconfig_no_cached.toml" ))
1129
1129
cmdlist = self .get_command_list (parameter_overrides = overrides , cached = True )
@@ -1161,7 +1161,7 @@ def test_cached_build_with_env_vars(self):
1161
1161
"FunctionCodeUri" : "Python" ,
1162
1162
"Function1Handler" : "main.first_function_handler" ,
1163
1163
"Function2Handler" : "main.second_function_handler" ,
1164
- "FunctionRuntime" : "python3.8 " ,
1164
+ "FunctionRuntime" : "python3.11 " ,
1165
1165
}
1166
1166
cmdlist = self .get_command_list (
1167
1167
use_container = True , parameter_overrides = overrides , cached = True , container_env_var = "FOO=BAR"
0 commit comments