From dad26b44624a96e51cedcdd929ed9bf7e3281720 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 17 Nov 2022 09:41:30 -0500 Subject: [PATCH] fix: use dev version of FindPython Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 1 + extern/cmake | 2 +- src/scikit_build_core/settings/skbuild_model.py | 2 +- tests/packages/simplest_c/CMakeLists.txt | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e7547d39..07e33ae34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + submodules: recursive - uses: cygwin/cygwin-install-action@v2 with: diff --git a/extern/cmake b/extern/cmake index 31f835410..c5a945dce 160000 --- a/extern/cmake +++ b/extern/cmake @@ -1 +1 @@ -Subproject commit 31f835410efeea50acd43512eb9e5646a26ea177 +Subproject commit c5a945dce8e1a4fb1b1db91c2dae03795c74074b diff --git a/src/scikit_build_core/settings/skbuild_model.py b/src/scikit_build_core/settings/skbuild_model.py index ec07a8357..ad83dcde9 100644 --- a/src/scikit_build_core/settings/skbuild_model.py +++ b/src/scikit_build_core/settings/skbuild_model.py @@ -99,7 +99,7 @@ class WheelSettings: class BackportSettings: #: If CMake is less than this value, backport a copy of FindPython. Set #: to 0 disable this, or the empty string. - find_python: str = "3.24" + find_python: str = "3.26" @dataclasses.dataclass diff --git a/tests/packages/simplest_c/CMakeLists.txt b/tests/packages/simplest_c/CMakeLists.txt index 442bb86ef..83e81e16b 100644 --- a/tests/packages/simplest_c/CMakeLists.txt +++ b/tests/packages/simplest_c/CMakeLists.txt @@ -6,7 +6,6 @@ project( VERSION ${SKBUILD_PROJECT_VERSION}) find_package(Python COMPONENTS Interpreter Development.Module) -set(Python_SOABI ${SKBUILD_SOABI}) python_add_library(_module MODULE src/module.c WITH_SOABI)