File tree Expand file tree Collapse file tree
src/scikit_build_core/builder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,8 +374,8 @@ Scikit-build-core will only target ABI3 if the version of Python is equal to or
374374newer than the one you set. ` ${SKBUILD_SABI_COMPONENT} ` is set to
375375` Development.SABIModule ` when targeting ABI3 or ABI3T, and is an empty string
376376otherwise. For free-threaded Python (PEP 703), you can use ` cp315t ` to target
377- the free-threaded stable ABI, which sets ` Py_TARGET_ABI3T ` instead of
378- ` Py_LIMITED_API ` .
377+ the free-threaded stable ABI, which sets ` Py_TARGET_ABI3T ` (if using CMake
378+ 4.4+) .
379379
380380If you are not using CPython at all, you can specify any version of Python is
381381fine:
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ def configure(
226226 else :
227227 limited_api = False
228228
229- if limited_api and sys .implementation .name != "cpython" :
229+ if ( limited_api or ft_abi ) and sys .implementation .name != "cpython" :
230230 limited_api = False
231231 ft_abi = False
232232 logger .info ("PyPy doesn't support the Limited API, ignoring" )
You can’t perform that action at this time.
0 commit comments