Skip to content

Repair wheel platform tags - #7

Merged
andimarafioti merged 1 commit into
mainfrom
fix-manylinux-wheel-tags
Jun 25, 2026
Merged

Repair wheel platform tags#7
andimarafioti merged 1 commit into
mainfrom
fix-manylinux-wheel-tags

Conversation

@andimarafioti

Copy link
Copy Markdown
Owner

Summary

PyPI rejected the rebuilt wheel because the binary artifact had the generic linux_aarch64 platform tag:

Binary wheel 'qwentts_cpp_python-0.2.0-1cu128-py3-none-linux_aarch64.whl' has an unsupported platform tag 'linux_aarch64'.

This PR runs auditwheel repair after building wheels so CI uploads manylinux_2_39_* artifacts instead of generic linux_* artifacts.

For CUDA wheels, the repair step excludes CUDA driver/runtime/cuBLAS libraries from vendoring:

  • libcuda.so.1
  • libcudart.so.12 / libcudart.so.13
  • libcublas.so.12 / libcublas.so.13
  • libcublasLt.so.12 / libcublasLt.so.13

That keeps the package dependent on the CUDA runtime provided by the deployment image, instead of copying CUDA libraries into the wheel.

Validation

  • Parsed .github/workflows/publish.yml and .github/workflows/wheels.yml with PyYAML.
  • Locally ran auditwheel show on an existing aarch64 CUDA wheel; it reported the correct repaired tag target as manylinux_2_39_aarch64.
  • Locally repaired the existing aarch64 CUDA wheel with CUDA libs excluded; output wheel was qwentts_cpp_python-0.2.0-py3-none-manylinux_2_39_aarch64.whl and remained about 97 MiB.

@andimarafioti
andimarafioti merged commit e8408c6 into main Jun 25, 2026
6 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.

1 participant