-
Notifications
You must be signed in to change notification settings - Fork 158
Description
I am building a wheel using cibuildwheel in a manylinux docker image, with platform tag linux_x86_64. But when cibuildwheel runs auditwheel addtag it fails with diagnostic "No tags to be added. Exiting".
Can anyone explain what the diagnostic means, and why auditwheel is failing here? I was hoping that addtag would rename the wheel, e.g. changing the platform tag to manylinux_2_17_x86_64.manylinux2014_x86_64.
The input wheel has .so files created via SWIG. These .so's depend on .so files that are not in the wheel - they are actually in a different wheel (listed as a prerequisite using Requires-Dist in the metadata), hence i'm setting CIBW_REPAIR_WHEEL_COMMAND_LINUX to auditwheel addtag -w {dest_dir} {wheel} to avoid auditwheel failing because it thinks there are missing shared libraries. My build already takes care of setting rpath etc, so i only need auditwheel for platform tag-renaming.
[I'm using this scheme in order to save space on pypi.org - i'm putting my project's shared libraries that are not dependent on Python version (these are very large) in one wheel, and everything else in a second wheel, one for each supported Python version (3.8 - 3.11 at the moment).]
Thanks in advance for any help,
- Julian