gh-action-pypi-publish
gh-action-pypi-publish copied to clipboard
`HTTPError: 400 ... has an unsupported platform tag` cancels uploads
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.