[Distutils] twine: Binary wheel for an unsupported platform
Chris Jerdonek
chris.jerdonek at gmail.com
Tue Oct 28 15:58:31 CET 2014
On Tue, Oct 28, 2014 at 7:04 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>
> Hello,
>
> I guess I am doing something wrong, but what?
> (I took "linux_x86_64" after PEP 427 and 425)
>
>
> $ twine upload dist/llvmlite-0.1-py2.py3-none-linux_x86_64.whl
> Uploading distributions to https://pypi.python.org/pypi
> Uploading llvmlite-0.1-py2.py3-none-linux_x86_64.whl
> Traceback (most recent call last):
> File "/home/antoine/.local/lib/python3.4/site-packages/twine/commands/upload.py", line 228, in main
> upload(**vars(args))
> File "/home/antoine/.local/lib/python3.4/site-packages/twine/commands/upload.py", line 183, in upload
> resp.raise_for_status()
> File "/home/antoine/.local/lib/python3.4/site-packages/requests/models.py", line 825, in raise_for_status
> raise HTTPError(http_error_msg, response=self)
> requests.exceptions.HTTPError: 400 Client Error: Binary wheel for an unsupported platform
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/home/antoine/.local/bin/twine-upload", line 11, in <module>
> sys.exit(main())
> File "/home/antoine/.local/lib/python3.4/site-packages/twine/commands/upload.py", line 230, in main
> sys.exit("{0}: {1}".format(exc.__class__.__name__, exc.message))
> AttributeError: 'HTTPError' object has no attribute 'message'
>
>
> (also note the Python 3 buglet in main() above)
FYI, it looks like this has been fixed already:
https://github.com/pypa/twine/commit/162ab0e9d0d93a2357a6440bdf7af1835247e025
--Chris
More information about the Distutils-SIG
mailing list