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

Tres Seaver tseaver at palladion.com
Wed Jul 8 11:39:13 CEST 2015


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

On 07/07/2015 07:43 PM, Antoine Pitrou wrote:

> That's a dramatically uninformed statement, to put it politely...
> Some packages have difficult-to-meet build dependencies, and can also
> take a long time to do so.

In the general case, it is *exactly* those projects which are going to
trip people up when you upload their binary wheels to PyPI:  there will
be no way to know that the compiled-in stuff will work on "any" Linux,
and solving the problem of "which" Linux variants a given wheel can
support is intractable.

At least for performance-snesitev codes, building on an old,
"least-common-denominator" platform has been unsat:  squeezing out the
most peformance on a newer machine requires compiling on exactly that
platform, using the best compiler available for it (and maybe tweak
options differently than are even possible on the LCD platform).

> llvmlite, the package I'm talking about, builds against the 
> development libraries for LLVM 3.6 (a non-trivial download and
> install, assuming you can find binaries of that LLVM version for your
> OS version.... otherwise, count ~20 minutes to compile it with a
> modern quad-core CPU).  We regularly have bug reports from people
> failing to compile the package on Linux (and OS X), which is why we
> are considering the option of pre-built binary wheels (in addition to
> the conda packages we already provide, and which some people are
> reluctant to use).

A conda pacakge solves the problem by pinning all the underlying
non-Python dependencies to "known-good" versions, which makes it the
right choice for folks who cannot / won't build it themselves.


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)

iQIcBAEBAgAGBQJVnO/AAAoJEPKpaDSJE9HY01kQAJV3Jht+KBdBfWn9w5G+/bD9
/8XRweaHFl+jBhFc+NEKjZg1Nfcz+bF8PHvC/unsUF4hBMJyeMtAadutDYVvlbOb
hjUnY7BF94ssP1HcNJW9x7eQfKiwQqdOxr+4r15YkYGf0osW/JJ3SXYj/R9GwQ1c
d/ZlTFtbL+fZaEEwUHS8pr3J2hx9HELFPQI3VCdt7AomNqGMoM92UDPXcyOvLUTB
OfswrojVM2g1NJclvVEbd0FXIO/ScQeDYVd767LIynMbv4xQoB8/Bs9B1RBEj+gj
ZphfRFtGssEHiNKN0Txk9Z22aYqQhlmxiJJx4mqT5qaSyY15iG34WsBh3gwqaDvR
o2VaWMDAtxunqqiB2E1NXGzPH5InivalG1laPxYs2SZJMsYn0M3y0FDgNaV0vHuO
JC3U1ckVm/oeuLhmaHmi/qzfaFTAxo4JPPcTxYnAdhVWqmWOQJRz/q20acpUu7Cx
ZrezhYOVeDkF5AB+XyU6O4e7a0zB7r9jKKSIn/6EJHrMQ+l744U3nT+mJ31CIIO2
ZAYAm/ZOQK8MtSBAi9rVLzKmkyOAnUX/Fnil6uBYHAeBiIRy+BLExuzcT/0bNBXi
Gfhzky8/rw7RCdBUTHeWY1y+2cZpq3BzFDSZqXMPT79SA3I+kQ9wAyyRI0x5tB6s
0ujHYOv331tJooipuYrY
=JH2E
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list