Skip to content

Commit 600e004

Browse files
committed
Code formatting tweak.
1 parent e0423a8 commit 600e004

File tree

1 file changed

+44
-46
lines changed

1 file changed

+44
-46
lines changed

master/custom/factories.py

Lines changed: 44 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,52 +1192,50 @@ def current_setup(self, parallel, branch, test_with_PTY=False, **kwargs):
11921192
"CACHE_DIR": "/Users/buildbot/downloads",
11931193
}
11941194

1195-
self.addSteps(
1196-
[
1197-
# This symlink is needed to support Python 3.14 builds - it makes the
1198-
# top level Apple folder appear in the new Platforms/Apple location.
1199-
# It will fail on 3.13 PR branches because the top level Apple folder
1200-
# doesn't exist. This step can be removed when 3.14 is no longer
1201-
# supported.
1202-
ShellCommand(
1203-
name="Set up compatibility symlink",
1204-
command="[ -e Platforms/Apple ] || ln -s ../Apple Platforms/Apple",
1205-
),
1206-
# Build the full iOS XCframework, including a multi-arch simulator slice.
1207-
Compile(
1208-
name="Configure and compile build Python",
1209-
command=["python3", "Platforms/Apple", "build", "iOS", "build"],
1210-
env=build_environ,
1211-
),
1212-
Compile(
1213-
name="Configure and compile host Pythons",
1214-
command=["python3", "Platforms/Apple", "build", "iOS", "hosts"],
1215-
env=build_environ,
1216-
),
1217-
Compile(
1218-
name="Package XCframework",
1219-
command=["python3", "Platforms/Apple", "package", "iOS"],
1220-
env=build_environ,
1221-
),
1222-
Test(
1223-
name="Run test suite",
1224-
command=[
1225-
"python3",
1226-
"Platforms/Apple",
1227-
"test",
1228-
"iOS",
1229-
"--slow-ci",
1230-
],
1231-
env=build_environ,
1232-
timeout=step_timeout(self.test_timeout),
1233-
),
1234-
Clean(
1235-
name="Clean the builds",
1236-
command=["python3", "Platforms/Apple", "clean", "iOS"],
1237-
env=build_environ,
1238-
),
1239-
]
1240-
)
1195+
self.addSteps([
1196+
# This symlink is needed to support Python 3.14 builds - it makes the
1197+
# top level Apple folder appear in the new Platforms/Apple location.
1198+
# It will fail on 3.13 PR branches because the top level Apple folder
1199+
# doesn't exist. This step can be removed when 3.14 is no longer
1200+
# supported.
1201+
ShellCommand(
1202+
name="Set up compatibility symlink",
1203+
command="[ -e Platforms/Apple ] || ln -s ../Apple Platforms/Apple",
1204+
),
1205+
# Build the full iOS XCframework, including a multi-arch simulator slice.
1206+
Compile(
1207+
name="Configure and compile build Python",
1208+
command=["python3", "Platforms/Apple", "build", "iOS", "build"],
1209+
env=build_environ,
1210+
),
1211+
Compile(
1212+
name="Configure and compile host Pythons",
1213+
command=["python3", "Platforms/Apple", "build", "iOS", "hosts"],
1214+
env=build_environ,
1215+
),
1216+
Compile(
1217+
name="Package XCframework",
1218+
command=["python3", "Platforms/Apple", "package", "iOS"],
1219+
env=build_environ,
1220+
),
1221+
Test(
1222+
name="Run test suite",
1223+
command=[
1224+
"python3",
1225+
"Platforms/Apple",
1226+
"test",
1227+
"iOS",
1228+
"--slow-ci",
1229+
],
1230+
env=build_environ,
1231+
timeout=step_timeout(self.test_timeout),
1232+
),
1233+
Clean(
1234+
name="Clean the builds",
1235+
command=["python3", "Platforms/Apple", "clean", "iOS"],
1236+
env=build_environ,
1237+
),
1238+
])
12411239

12421240
def setup(self, parallel, branch, test_with_PTY=False, **kwargs):
12431241
# Builds on Python 3.13 use a direct set of calls to make. Python 3.14

0 commit comments

Comments
 (0)