Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPError: 400 ... has an unsupported platform tag cancels uploads #252

Closed
Rot127 opened this issue Aug 12, 2024 · 2 comments
Closed

HTTPError: 400 ... has an unsupported platform tag cancels uploads #252

Rot127 opened this issue Aug 12, 2024 · 2 comments

Comments

@Rot127
Copy link

Rot127 commented Aug 12, 2024

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.

@webknjaz
Copy link
Member

webknjaz commented Sep 3, 2024

We call twine upload once against all the files. That would have to be implemented in Twine. The action is a thin wrapper.

@Rot127
Copy link
Author

Rot127 commented Sep 3, 2024

Ok, guess this one is then out of scope.

@Rot127 Rot127 closed this as completed Sep 3, 2024
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

No branches or pull requests

2 participants