From 0a265a8570be7e55798d8f24a8bc5d9898146257 Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Sat, 21 Sep 2024 16:41:42 +0200 Subject: [PATCH] update scikit-build-core --- pyproject.toml | 6 +++++- tools/sdist.patch | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 48e5decd..6b470da9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "scikit-build-core>=0.10.1", + "scikit-build-core>=0.10.7", "Cython >=3.0.11, <3.1.0" ] build-backend = "scikit_build_core.build" @@ -67,6 +67,10 @@ wheel.cmake = true [[tool.scikit-build.overrides]] if.failed = true +if.env.CIBUILDWHEEL = false +if.env.CONDA_BUILD = false +if.env.PIWHEELS_BUILD = false +if.env.RAPIDFUZZ_BUILD_EXTENSION = false wheel.cmake = false messages.after-success = "failed to build C++ Extension, falling back to pure Python Extension" diff --git a/tools/sdist.patch b/tools/sdist.patch index a27c3944..cc463ec2 100644 --- a/tools/sdist.patch +++ b/tools/sdist.patch @@ -5,9 +5,9 @@ index 517f32d..1e855ed 100644 @@ -1,7 +1,6 @@ [build-system] requires = [ -- "scikit-build-core>=0.10.1", +- "scikit-build-core>=0.10.7", - "Cython >=3.0.11, <3.1.0" -+ "scikit-build-core>=0.10.1" ++ "scikit-build-core>=0.10.7" ] build-backend = "scikit_build_core.build"