Skip to content

Commit 4eaf209

Browse files
committed
Fix build on python 2.7
1 parent f8a93e4 commit 4eaf209

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scikit-ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,14 @@ test:
125125
if "MACOSX_DEPLOYMENT_TARGET" in os.environ:
126126
target = tuple(int(p) for p in os.environ["MACOSX_DEPLOYMENT_TARGET"].split("."))
127127
# let's add universal2 platform for this wheel.
128-
additional_platforms = [
129-
f"macosx_{target[0]}_{target[1]}_universal2",
130-
]
128+
additional_platforms = ["macosx_{}_{}_universal2".format(*target)]
131129
132130
# given pip support for universal2 was added after arm64 introduction
133131
# let's also add arm64 platform.
134132
arm64_target = target
135133
if arm64_target < (11, 0):
136134
arm64_target = (11, 0)
137-
additional_platforms.append(f"macosx_{arm64_target[0]}_{arm64_target[1]}_arm64")
135+
additional_platforms.append("macosx_{}_{}_arm64".format(*arm64_target))
138136
139137
if target < (11, 0):
140138
# They're were also issues with pip not picking up some universal2 wheels, tag twice

0 commit comments

Comments
 (0)