We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208082a commit c551c77Copy full SHA for c551c77
1 file changed
pyproject.toml
@@ -475,6 +475,11 @@ before-build = ["yum install -y ccache"]
475
476
[tool.cibuildwheel.macos]
477
before-build = ["brew install ccache"]
478
+# nanobind uses C++17 aligned new/delete (std::align_val_t), which the runtime only provides on macOS 10.13+.
479
+# cp310/cp311's framework defaults to a 10.9 deployment target (used for the x86_64 slice of x86_64/universal2
480
+# wheels), so nanobind fails to compile there; cp312+ frameworks already target 10.13+. Pin 10.14 so every CPython
481
+# version builds (arm64 slices are 11.0 regardless).
482
+environment = { MACOSX_DEPLOYMENT_TARGET = "10.14" }
483
484
[tool.cibuildwheel.windows]
485
before-build = ["choco install ccache"]
0 commit comments