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) Regards Antoine.
On 28 October 2014 14:04, Antoine Pitrou <solipsis@pitrou.net> wrote:
I guess I am doing something wrong, but what? (I took "linux_x86_64" after PEP 427 and 425)
Oops, I mentioned this in another thread but forgot it when responding to you. Sorry. PyPI does not currently allow uploading binary wheels for Linux, because the "compatibility tags" issues are unresolved, and the decision was taken to block binary uploads rather than cause user confusion when pip started installing unusable binaries. Paul
On Tue, Oct 28, 2014 at 7:04 AM, Antoine Pitrou <solipsis@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/162ab0e9d0d93a2357a6440bdf7af1835247e02... --Chris
participants (3)
-
Antoine Pitrou -
Chris Jerdonek -
Paul Moore