Skip to content

Fix Deploy PyPI: ignore W009/W010 for delvewheel-repaired wheels#235

Merged
drebbe-intrepid merged 1 commit into
masterfrom
fix/wheel-contents-check
Jul 7, 2026
Merged

Fix Deploy PyPI: ignore W009/W010 for delvewheel-repaired wheels#235
drebbe-intrepid merged 1 commit into
masterfrom
fix/wheel-contents-check

Conversation

@drebbe-intrepid

Copy link
Copy Markdown
Collaborator

Deploy PyPI has been failing on every master push since delvewheel started vendoring the MSVC runtime: check-wheel-contents rejects the repaired Windows wheels because python_ics.libs/ (containing only msvcp140-*.dll) is a second toplevel entry (W009) with no Python modules (W010). That layout is exactly what delvewheel is supposed to produce.

Fix

Add --ignore W009,W010 to the check in the deploy job. A [tool.check-wheel-contents] toplevel allowlist was considered and rejected: the macOS/Linux wheels don't contain python_ics.libs/ (delocate/auditwheel place libraries differently), so an allowlist would fail those wheels with W201 instead. All other wheel checks stay active.

Verification

Reproduced locally against the actual artifacts from failing master run 28872960948:

  • without ignore: all 10 Windows wheels fail with W009+W010, exit 1 (matches the CI log)
  • with --ignore W009,W010: all 10 wheels report OK, exit 0

This unblocks the 1!26.3.9 release upload (checklist item 0 from #234).

🤖 Generated with Claude Code

Deploy PyPI has failed since delvewheel started vendoring msvcp140 into
python_ics.libs/: check-wheel-contents flags the extra toplevel dir
(W009) with no Python modules (W010) on every Windows wheel. Verified
against the run-28872960948 artifacts: all 10 Windows wheels fail
without the ignore and all pass with it; other checks stay active.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@drebbe-intrepid drebbe-intrepid merged commit dfc9846 into master Jul 7, 2026
18 checks passed
@drebbe-intrepid drebbe-intrepid deleted the fix/wheel-contents-check branch July 7, 2026 20:25
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.

1 participant