@@ -1185,10 +1185,7 @@ def py313_setup(self, branch, worker, test_with_PTY=False, **kwargs):
11851185 )
11861186
11871187 def current_setup (self , branch , worker , test_with_PTY = False , ** kwargs ):
1188- build_environ = {
1189- "CACHE_DIR" : "/Users/buildbot/downloads" ,
1190- }
1191-
1188+ apple_py = ["python3" , "Platforms/Apple" ]
11921189 self .addSteps ([
11931190 # This symlink is needed to support Python 3.14 builds - it makes the
11941191 # top level Apple folder appear in the new Platforms/Apple location.
@@ -1202,18 +1199,15 @@ def current_setup(self, branch, worker, test_with_PTY=False, **kwargs):
12021199 # Build the full iOS XCframework, including a multi-arch simulator slice.
12031200 Compile (
12041201 name = "Configure and compile build Python" ,
1205- command = ["python3" , "Platforms/Apple" , "build" , "iOS" , "build" ],
1206- env = build_environ ,
1202+ command = apple_py + ["build" , "iOS" , "build" ],
12071203 ),
12081204 Compile (
12091205 name = "Configure and compile host Pythons" ,
1210- command = ["python3" , "Platforms/Apple" , "build" , "iOS" , "hosts" ],
1211- env = build_environ ,
1206+ command = apple_py + ["build" , "iOS" , "hosts" ],
12121207 ),
12131208 Compile (
12141209 name = "Package XCframework" ,
1215- command = ["python3" , "Platforms/Apple" , "package" , "iOS" ],
1216- env = build_environ ,
1210+ command = apple_py + ["package" , "iOS" ],
12171211 ),
12181212 Test (
12191213 name = "Run test suite" ,
@@ -1224,13 +1218,11 @@ def current_setup(self, branch, worker, test_with_PTY=False, **kwargs):
12241218 "iOS" ,
12251219 "--slow-ci" ,
12261220 ],
1227- env = build_environ ,
12281221 timeout = step_timeout (self .test_timeout ),
12291222 ),
12301223 Clean (
12311224 name = "Clean the builds" ,
1232- command = ["python3" , "Platforms/Apple" , "clean" , "iOS" ],
1233- env = build_environ ,
1225+ command = apple_py + ["clean" , "iOS" ],
12341226 ),
12351227 ])
12361228
0 commit comments