From b78f19fa41fff5338b7a33b91ea39a5777690f12 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 26 Aug 2026 19:55:05 +0000 Subject: [PATCH 1/2] Initial plan From 1eeaf9b0d477dfec293ef80df83e8d20a18ad6ab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 26 Aug 2026 19:58:34 +0000 Subject: [PATCH 2/2] Exclude MSVC runtime from delvewheel repair for cross-compiled win_arm64 wheels Co-authored-by: paullinnerud <18744298+paullinnerud@users.noreply.github.com> --- pyproject.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3889fe9..2afbdf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,4 +17,13 @@ archs = ["x86_64", "universal2", "arm64"] [tool.cibuildwheel.windows] archs = ["x86", "AMD64", "ARM64"] -test-skip = ["*-win_arm64"] \ No newline at end of file +test-skip = ["*-win_arm64"] + +# The ARM64 wheels are cross compiled on an x86-64 runner, where only the x86-64 +# copy of the MSVC C++ runtime is discoverable. delvewheel therefore fails with +# "Unable to find library: msvcp140.dll" while repairing the ARM64 wheel. The +# MSVC runtime is a redistributable system component, so exclude it from +# bundling instead of trying to vendor it. +[[tool.cibuildwheel.overrides]] +select = "*-win_arm64" +repair-wheel-command = "delvewheel repair --exclude msvcp140*.dll -w {dest_dir} -v {wheel}"