Skip to content

Commit 6f2d3eb

Browse files
Python 3.14 on macOS requires MACOSX_DEPLOYMENT_TARGET set to 10.15
Closes #2612
1 parent 8602e86 commit 6f2d3eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cibuildwheel/platforms/macos.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,11 @@ def setup_python(
289289
# For arm64, the minimal deployment target is 11.0.
290290
# On x86_64 (or universal2), use 10.9 as a default.
291291
# CPython 3.12.6+ needs 10.13.
292+
# CPython 3.14.0 needs 10.15.
292293
if config_is_arm64:
293294
default_target = "11.0"
295+
elif Version(python_configuration.version) >= Version("3.14"):
296+
default_target = "10.15"
294297
elif Version(python_configuration.version) >= Version("3.12"):
295298
default_target = "10.13"
296299
elif python_configuration.identifier.startswith("pp") and Version(

0 commit comments

Comments
 (0)