This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
The following commit(s) were added to refs/heads/main by this push:
new c4e0718 [CI] Ignore existing DLLs in Windows wheel repair (#635)
c4e0718 is described below
commit c4e07180c9c52b9c72a5a0e5be3c2a3b2326b9c8
Author: Tianqi Chen <[email protected]>
AuthorDate: Thu Jun 18 15:33:19 2026 -0400
[CI] Ignore existing DLLs in Windows wheel repair (#635)
Windows wheel repair started failing under the current
cibuildwheel/delvewheel stack with:
```text
FileNotFoundError: Unable to find library: tvm_ffi_testing.dll
```
`tvm_ffi_testing.dll` is already shipped inside the wheel under
`tvm_ffi/lib/`. Configure the Windows repair command to pass
`--ignore-existing`, so delvewheel does not try to rediscover DLLs that
are already bundled in the wheel while repairing `tvm_ffi/core*.pyd`.
Validation:
- Manually triggered Windows wheel workflow on `tqchen/tvm-ffi:main`
passed with this change.
- `pre-commit run --all-files` passed locally.
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 3237de4..cb3c459 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -253,6 +253,7 @@ environment = { MACOSX_DEPLOYMENT_TARGET = "10.14" }
[tool.cibuildwheel.windows]
archs = ["AMD64"]
+repair-wheel-command = "delvewheel repair --ignore-existing -w {dest_dir} -v
{wheel}"
[tool.ty.environment]
python-version = "3.9"