Repair wheel platform tags - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PyPI rejected the rebuilt wheel because the binary artifact had the generic
linux_aarch64platform 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 repairafter building wheels so CI uploadsmanylinux_2_39_*artifacts instead of genericlinux_*artifacts.For CUDA wheels, the repair step excludes CUDA driver/runtime/cuBLAS libraries from vendoring:
libcuda.so.1libcudart.so.12/libcudart.so.13libcublas.so.12/libcublas.so.13libcublasLt.so.12/libcublasLt.so.13That keeps the package dependent on the CUDA runtime provided by the deployment image, instead of copying CUDA libraries into the wheel.
Validation
.github/workflows/publish.ymland.github/workflows/wheels.ymlwith PyYAML.auditwheel showon an existing aarch64 CUDA wheel; it reported the correct repaired tag target asmanylinux_2_39_aarch64.qwentts_cpp_python-0.2.0-py3-none-manylinux_2_39_aarch64.whland remained about 97 MiB.