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

Tres Seaver tseaver at palladion.com
Wed Jul 8 01:32:37 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/06/2015 02:18 PM, Antoine Pitrou wrote:
> On Mon, 6 Jul 2015 19:03:19 +0100 Paul Moore <p.f.moore at gmail.com>
> wrote:
>> 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.
> 
> What if packagers take care of working around the issue? (for example
> by building on a suitably old Linux platform, as we already do for
> Conda packages)

Compared to Windows, and even somewhat OS/X, the win for uploading wheels
to PyPI is miniscule:  pretty much everybody developing on Linux has or
can get the toolchain required to build a wheel from an sdist, and can
share those built wheels across the hosts she knows to be compatible.

A-foolish-consistency'ly,



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVnGGVAAoJEPKpaDSJE9HY5McP/0MCer5wS0MygSHw/UGrcvKN
2pDfGdFsucjY2cR5Wr/R28NEvTPzrmBghPAw4x47rNRpNWBOHvRMyOu3UWKJIeMI
r/elBcP9te26jA7o/clqkfnVNKGjcoDSis+YkyhZAfhEDNGXQAaSf8uNFsVDKMTj
W8ggxe0DraXHImE0X4rahu2a7Svd7yWIMtRv5eMP+HjfLA9ouQUuFNYXCuXDmTIS
5SJ+XkXjToKy0DSqPkknESVcCnF6sDjI1STo4dPi65QNlUQomv9m3TwLN9Ak+bx6
u0vM8R594PXMcb8cTnBXdmDbdDhQRym7Wy2Fr5zYs7nwJ8x13d2QKs5fQ/QhmUF5
DtyWeQekhK1+wupt6NQ8tXgu9jx9SV81XtvZSAp9SAVS9asC7BUjLAZEh9r3K07b
dTkaY719vFUioiYQazDjIrkMLxSKjGbBgkve78tkjDtfwvKDOBqofFEmcsBv8yh0
wA5/iYJ78Wmr2rti5d4/JwLU5Tc+NkkYcw1W0bRUgi+GX8vYtYQ03i36f33Kyf3f
z6n8rquZhGDIcPjbrEmveBJxErJTu/3ifuIy6NnTwCFmQNOl+HpqtJFtYS1a3NUR
0s9eivFgl6vwExN2KywYW9N/6tCcWyB0qvECG6tB/a+Ao3iW8KOciyyjaQZWwOFx
glybBbAdFgtqaLafaJnQ
=NgK8
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list