gh-action-pypi-publish icon indicating copy to clipboard operation
gh-action-pypi-publish copied to clipboard

`HTTPError: 400 ... has an unsupported platform tag` cancels uploads

Open Rot127 opened this issue 1 year ago • 0 comments

Our cibuildwheel action built a wheel with the unsupported platform tag manylinux1_aarch64.

During the upload pypip rejects the wheel with:

ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         Binary wheel                                                           
         'capstone-5.0.2-py3-none-manylinux1_aarch64.manylinux_2_17_aarch64.many
         linux2014_aarch64.whl' has an unsupported platform tag                 
         'manylinux1_aarch64'.        

The problem is that the whole upload now fails. Previous wheels were uploaded others not.

The action should just attempt to upload the next wheel and print a warning. Because the following might still be valid.

Rot127 avatar Aug 12 '24 08:08 Rot127