@@ -83,7 +83,6 @@ def test_ios_platforms(tmp_path, build_config, monkeypatch, capfd):
83
83
project_dir ,
84
84
add_env = {
85
85
"CIBW_BEFORE_BUILD" : "does-exist" ,
86
- "CIBW_BUILD" : "cp313-*" ,
87
86
"CIBW_XBUILD_TOOLS" : "does-exist" ,
88
87
"CIBW_TEST_SOURCES" : "tests" ,
89
88
"CIBW_TEST_COMMAND" : "python -m this && python -m unittest discover tests test_platform.py" ,
@@ -94,7 +93,7 @@ def test_ios_platforms(tmp_path, build_config, monkeypatch, capfd):
94
93
95
94
# The expected wheels were produced.
96
95
expected_wheels = utils .expected_wheels (
97
- "spam" , "0.1.0" , platform = "ios" , python_abi_tags = ["cp313-cp313" ]
96
+ "spam" , "0.1.0" , platform = "ios" , python_abi_tags = ["cp313-cp313" , "cp314-cp314" ]
98
97
)
99
98
assert set (actual_wheels ) == set (expected_wheels )
100
99
@@ -121,7 +120,6 @@ def test_no_test_sources(tmp_path, capfd):
121
120
project_dir ,
122
121
add_env = {
123
122
"CIBW_PLATFORM" : "ios" ,
124
- "CIBW_BUILD" : "cp313-*" ,
125
123
"CIBW_TEST_REQUIRES" : "pytest" ,
126
124
"CIBW_TEST_COMMAND" : "python -m pytest" ,
127
125
"CIBW_XBUILD_TOOLS" : "" ,
@@ -153,7 +151,6 @@ def test_ios_testing_with_placeholder(tmp_path, capfd):
153
151
project_dir ,
154
152
add_env = {
155
153
"CIBW_PLATFORM" : "ios" ,
156
- "CIBW_BUILD" : "cp313-*" ,
157
154
"CIBW_TEST_REQUIRES" : "pytest" ,
158
155
"CIBW_TEST_COMMAND" : "pytest {project}/tests" ,
159
156
"CIBW_XBUILD_TOOLS" : "" ,
@@ -180,7 +177,6 @@ def test_ios_test_command_short_circuit(tmp_path, capfd):
180
177
project_dir ,
181
178
add_env = {
182
179
"CIBW_PLATFORM" : "ios" ,
183
- "CIBW_BUILD" : "cp313-*" ,
184
180
"CIBW_XBUILD_TOOLS" : "" ,
185
181
"CIBW_TEST_SOURCES" : "tests" ,
186
182
"CIBW_TEST_COMMAND" : "python -m not_a_module && python -m this" ,
@@ -209,7 +205,6 @@ def test_missing_xbuild_tool(tmp_path, capfd):
209
205
project_dir ,
210
206
add_env = {
211
207
"CIBW_PLATFORM" : "ios" ,
212
- "CIBW_BUILD" : "cp313-*" ,
213
208
"CIBW_TEST_COMMAND" : "python -m tests" ,
214
209
"CIBW_XBUILD_TOOLS" : "does-not-exist" ,
215
210
},
@@ -235,7 +230,6 @@ def test_no_xbuild_tool_definition(tmp_path, capfd):
235
230
project_dir ,
236
231
add_env = {
237
232
"CIBW_PLATFORM" : "ios" ,
238
- "CIBW_BUILD" : "cp313-*" ,
239
233
"CIBW_TEST_SKIP" : "*" ,
240
234
},
241
235
)
@@ -245,7 +239,7 @@ def test_no_xbuild_tool_definition(tmp_path, capfd):
245
239
"spam" ,
246
240
"0.1.0" ,
247
241
platform = "ios" ,
248
- python_abi_tags = ["cp313-cp313" ],
242
+ python_abi_tags = ["cp313-cp313" , "cp314-cp314" ],
249
243
)
250
244
assert set (actual_wheels ) == set (expected_wheels )
251
245
@@ -269,14 +263,13 @@ def test_empty_xbuild_tool_definition(tmp_path, capfd):
269
263
project_dir ,
270
264
add_env = {
271
265
"CIBW_PLATFORM" : "ios" ,
272
- "CIBW_BUILD" : "cp313-*" ,
273
266
"CIBW_TEST_SKIP" : "*" ,
274
267
"CIBW_XBUILD_TOOLS" : "" ,
275
268
},
276
269
)
277
270
278
271
expected_wheels = utils .expected_wheels (
279
- "spam" , "0.1.0" , platform = "ios" , python_abi_tags = ["cp313-cp313" ]
272
+ "spam" , "0.1.0" , platform = "ios" , python_abi_tags = ["cp313-cp313" , "cp314-cp314" ]
280
273
)
281
274
assert set (actual_wheels ) == set (expected_wheels )
282
275
@@ -306,7 +299,6 @@ def test_spam():
306
299
project_dir ,
307
300
add_env = {
308
301
"CIBW_PLATFORM" : "ios" ,
309
- "CIBW_BUILD" : "cp313-*" ,
310
302
"CIBW_TEST_COMMAND" : "pytest ./tests" ,
311
303
"CIBW_TEST_SOURCES" : "tests" ,
312
304
"CIBW_TEST_REQUIRES" : "pytest" ,
@@ -315,7 +307,7 @@ def test_spam():
315
307
)
316
308
317
309
expected_wheels = utils .expected_wheels (
318
- "spam" , "0.1.0" , platform = "ios" , python_abi_tags = ["cp313-cp313" ]
310
+ "spam" , "0.1.0" , platform = "ios" , python_abi_tags = ["cp313-cp313" , "cp314-cp314" ]
319
311
)
320
312
assert set (actual_wheels ) == set (expected_wheels )
321
313
0 commit comments