We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da622fd commit 0c9a2a8Copy full SHA for 0c9a2a8
CMakeLists.txt
@@ -423,10 +423,7 @@ file(MAKE_DIRECTORY ${ZMQ_BACKEND_DEST})
423
424
if(NOT "${SKBUILD_SABI_COMPONENT}" STREQUAL "")
425
# set stable API
426
- # assume we are targeting >= current Python version
427
- # this isn't required, but we can't seem to get `wheel.py-api`
428
- # see https://github.com/scikit-build/scikit-build-core/issues/958
429
- set(SABI_ARG "USE_SABI;${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}")
+ set(SABI_ARG "USE_SABI;${SKBUILD_SABI_VERSION}")
430
message(STATUS "Building with stable API ${SABI_ARG} for ${Python_SOABI}")
431
endif()
432
0 commit comments