@@ -54,8 +54,7 @@ ctest = "cmake:ctest"
5454[tool .scikit-build ]
5555minimum-version = " build-system.requires"
5656build-dir = " build/{wheel_tag}"
57- cmake.version = " >=3.15"
58- ninja.version = " " # requiring ninja could cause it to request CMake if it needs to be built from sources, fallback to make
57+ cmake.version = " >=3.13" # Since 3.24.0, CMake requires CMake 3.13+ to build itself
5958ninja.make-fallback = true
6059wheel.py-api = " py3"
6160wheel.expand-macos-universal-tags = true
@@ -67,28 +66,24 @@ template = '''
6766version = "${version}"
6867'''
6968
70- [[tool .scikit-build .overrides ]]
71- if.env.CIBUILDWHEEL = true
72- # ninja.version = ">=1.11"
73- # ninja.make-fallback = false
74- ninja.version = " "
75- ninja.make-fallback = true
76-
7769[tool .cibuildwheel ]
7870build = " cp39-*"
7971test-extras = " test"
8072test-command = " pytest {project}/tests"
8173build-verbosity = 1
8274build-frontend = " build[uv]"
75+ environment = { CMAKE_PYTHON_DIST_ALLOW_NINJA_DEP = " 1" }
8376musllinux-x86_64-image = " musllinux_1_1"
8477musllinux-i686-image = " musllinux_1_1"
8578musllinux-aarch64-image = " musllinux_1_1"
8679musllinux-ppc64le-image = " musllinux_1_1"
8780musllinux-s390x-image = " musllinux_1_1"
8881musllinux-armv7l-image = " musllinux_1_2"
8982
90- [tool .cibuildwheel .macos .environment ]
91- MACOSX_DEPLOYMENT_TARGET = " 10.10"
83+ [[tool .cibuildwheel .overrides ]]
84+ select = " *-macos*"
85+ inherit.environment = " append"
86+ environment = { MACOSX_DEPLOYMENT_TARGET = " 10.10" }
9287
9388[tool .cibuildwheel .linux ]
9489before-all = " ./scripts/manylinux-build-and-install-openssl.sh"
0 commit comments