Skip to content

fix: Use auditwheel to create manylinux wheels for PyPI#21

Merged
shaia merged 4 commits into
masterfrom
fix/manylinux-wheel
Jan 4, 2026
Merged

fix: Use auditwheel to create manylinux wheels for PyPI#21
shaia merged 4 commits into
masterfrom
fix/manylinux-wheel

Conversation

@shaia
Copy link
Copy Markdown
Owner

@shaia shaia commented Jan 3, 2026

PyPI rejects wheels with linux_x86_64 platform tag. Use auditwheel to repair the wheel and apply manylinux_2_17_x86_64 tag.

PyPI rejects wheels with linux_x86_64 platform tag. Use auditwheel
to repair the wheel and apply manylinux_2_17_x86_64 tag.
@shaia shaia requested a review from Copilot January 3, 2026 21:13
@shaia shaia self-assigned this Jan 3, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes PyPI wheel upload rejection by using auditwheel to properly tag Linux wheels with the manylinux_2_17_x86_64 platform tag instead of the invalid linux_x86_64 tag.

Key changes:

  • Split the unified "Build wheel (Unix)" step into separate Linux and macOS build steps
  • Added auditwheel repair process for Linux wheels to apply proper manylinux tags
  • Introduced intermediate dist_raw/ directory for unrepaired wheels on Linux

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build-wheels.yml Outdated
shaia added 3 commits January 4, 2026 07:07
…lity

PyPI rejects wheels with linux_x86_64 platform tag. Build the CFD C
library and Python wheel inside manylinux_2_28 container to ensure
glibc compatibility and proper manylinux tags.

- CPU wheels: Built entirely inside manylinux_2_28_x86_64 container
- CUDA wheels: Built on host (CUDA not available in manylinux container)
Use network method with minimal sub-packages instead of full local
install. Only install nvcc, cudart, nvrtc, cublas, and cusparse.
CMake requires the Visual Studio integration component to find the
CUDA toolset when building with MSVC.
@shaia shaia merged commit ed91428 into master Jan 4, 2026
15 checks passed
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.

2 participants