Skip to content

Repair Windows wheels with delvewheel to bundle openblas.dll#17

Merged
Transurgeon merged 1 commit into
mainfrom
fix/windows-wheel-openblas
Jun 12, 2026
Merged

Repair Windows wheels with delvewheel to bundle openblas.dll#17
Transurgeon merged 1 commit into
mainfrom
fix/windows-wheel-openblas

Conversation

@Transurgeon

Copy link
Copy Markdown
Member

Windows wheels shipped a .pyd that dynamically links openblas.dll from vcpkg, but cibuildwheel has no default repair step on Windows (unlike auditwheel/delocate), so the DLL was never bundled and every import failed with 'DLL load failed'. Run delvewheel to vendor the DLL into the wheel, and add a smoke-test import on all platforms so a broken wheel can't publish again.

Fixes #15

Windows wheels shipped a .pyd that dynamically links openblas.dll from
vcpkg, but cibuildwheel has no default repair step on Windows (unlike
auditwheel/delocate), so the DLL was never bundled and every import
failed with 'DLL load failed'. Run delvewheel to vendor the DLL into
the wheel, and add a smoke-test import on all platforms so a broken
wheel can't publish again.

Fixes #15

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Transurgeon Transurgeon merged commit 325146d into main Jun 12, 2026
13 checks passed
@Transurgeon Transurgeon deleted the fix/windows-wheel-openblas branch June 12, 2026 03:08
Transurgeon added a commit that referenced this pull request Jun 12, 2026
Windows wheels shipped a .pyd that dynamically links openblas.dll from
vcpkg, but cibuildwheel has no default repair step on Windows (unlike
auditwheel/delocate), so the DLL was never bundled and every import
failed with 'DLL load failed'. Run delvewheel to vendor the DLL into
the wheel, and add a smoke-test import on all platforms so a broken
wheel can't publish again.

Fixes #15

Co-authored-by: Transurgeon <peter.zijie@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows wheel: DLL load failed while importing _sparsediffengine

1 participant