[Distutils] 400 Client Error: Binary wheel for an unsupported platform

Paul Moore p.f.moore at gmail.com
Mon Jul 6 20:03:19 CEST 2015


On 6 July 2015 at 17:24, Antoine Pitrou <solipsis at pitrou.net> wrote:
> (yes, the version number is off - but that's besides the point here,
> I think):
>
> $ twine upload dist/llvmlite-0.0.0-py2.py3-none-linux_x86_64.whl
> /home/antoine/.local/lib/python3.4/site-packages/pkginfo/installed.py:53: UserWarning: No PKG-INFO found for package: pkginfo
>   warnings.warn('No PKG-INFO found for package: %s' % self.package_name)
> Uploading distributions to https://pypi.python.org/pypi
> Uploading llvmlite-0.0.0-py2.py3-none-linux_x86_64.whl
> HTTPError: 400 Client Error: Binary wheel for an unsupported platform

PyPI does not support uploading binary wheels for Linux. This is a
deliberate restriction because the tags supported by the wheel spec
are not fine enough grained to specify compatibility between the
myriad of Linux variations. The intention is that once a resolution to
that problem is found, this restriction will be lifted.

In the meantime wheels are fine on PyPI for Windows and OSX, and on
Linux for private use. It's only public distribution of Linux wheels
where care is needed.

Paul


More information about the Distutils-SIG mailing list