From 55be94288dd95b36c896aa95b224ba9970f678e7 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 12 Dec 2024 12:13:24 +0100 Subject: [PATCH] pipx doesn't work on windows maybe it's old --- CMakeLists.txt | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 90f5ca91f..169cc9cfb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -410,7 +410,7 @@ if(NOT "${SKBUILD_SABI_COMPONENT}" STREQUAL "") # this isn't required, but we can't seem to get `wheel.py-api` # see https://github.com/scikit-build/scikit-build-core/issues/958 set(SABI_ARG "USE_SABI;${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}") - message("Building with stable API ${SABI_ARG} for ${Python_SOABI}") + message(STATUS "Building with stable API ${SABI_ARG} for ${Python_SOABI}") endif() python_add_library( diff --git a/pyproject.toml b/pyproject.toml index 6a584d8d6..b1e04d8b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -211,7 +211,8 @@ select = "cp311-*" inherit.config-settings = "append" config-settings."wheel.py-api" = "cp311" inherit.repair-wheel-command = "append" -repair-wheel-command = "pipx run abi3audit --strict --report {wheel}" +before-build = "pip install abi3audit" +repair-wheel-command = "abi3audit --strict --report {wheel}" # for benchmarking, build limited cp312 as well [[tool.cibuildwheel.overrides]]