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

2015-07-08 Thread Antoine Pitrou
On Wed, 08 Jul 2015 05:39:13 -0400
Tres Seaver tsea...@palladion.com wrote:
 -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.

Seriously, how this is even supposed to be relevant? The whole point is
to produce best-effort packages that work on still-supported mainstream
distros, not any arbitrary Linux setup.

Instead of lecturing people about what is in your opinion
intractable, how about you just shut up, if you don't have anything
constructive to contribute?

Regards

Antoine.


___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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

2015-07-08 Thread Tres Seaver
-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  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://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-

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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

2015-07-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/08/2015 07:10 AM, Antoine Pitrou wrote:

 Seriously, how this is even supposed to be relevant? The whole point
 is to produce best-effort packages that work on still-supported
 mainstream distros, not any arbitrary Linux setup.

I'm arguing that allowing PyPI uploads of binary wheels for Linux will be
actively harmful.  The chance that hundreds of project maintainers can
get the dance you are suggesting right is iffectively nil:  it requires
them to compile wheel only on some unspecified LCD platform which most of
them will have no access to.  Once uploaded, mis-built wheels will cause
no end of pain for the hapless users who try to use them.

conda *is* the right solution for distributing cross-platform binaries
for the relatively small in number (but not importance) hard-to-build
packages.

 Instead of lecturing people about what is in your opinion 
 intractable, how about you just shut up, if you don't have anything 
 constructive to contribute?

Really?


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVnVhpAAoJEPKpaDSJE9HYnxIP/0b9dCEHarpzzzZP+fam04i2
a1sdxLn5RodGcUF9kid4KsdtOMc3D1sKf0yLbuBA7z1ctMYsPDYPcmvlo4cW2iSJ
WHYaBm1nJ1JUIxBDagWl5IhIO+aMtRmBQ+UnRj2vQi6Clga/d0M0T1+lNhAJy4hs
SogpFx3SayW+BotThqY1JGvAaKyM5hGYARAQIlrxWk2Ei6pff4mNAdXd3t1hjqg0
Y6PlBVCo9APFtbtO2AyzdVY5Mp4D6QqDcdj3NhjHsukvPTlpgv1dk+jJgPJfTxCw
Gx0Gv2Zt673y9QNOer6Lp3A/jkLG6w5mnY9K3lid+wx3Pv4wd3NNy+O2FuopKHZc
RdE1mWVe5W4ufSJVhdaXTOj5Eww9KnL5SH3KbTYBbDST7c9pFM0tnk/8Lq+4OU0z
soGCrZtH5mjof7LPDkvVh/j/mrLeRo+Wz9JsaAb8+PZVDuBSEfHKDxoKcmO0VzAx
weJE24eNfqCLzbQKhaIiXWA21D2jE1KxdUuzf0qJwwlkPaa4BmvMzJ0iKMeZYFf4
lYnBhNBJhZSGDTPpXRiM3Q73bzxvz3OYY/+6lcZU+LYx8LIHmQMrgHDddh2E9FvQ
BC4sfIBGt+LTbZPSsK0xp+MbX1yoW4TcXZeA/fe8/e2GY0UFgKQRD44Fa0hRdU7b
QXabMbyCHLKEKxc+xmXF
=Lrn9
-END PGP SIGNATURE-

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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

2015-07-08 Thread Antoine Pitrou
On Wed, 08 Jul 2015 13:05:45 -0400
Tres Seaver tsea...@palladion.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 07/08/2015 07:10 AM, Antoine Pitrou wrote:
 
  Seriously, how this is even supposed to be relevant? The whole point
  is to produce best-effort packages that work on still-supported
  mainstream distros, not any arbitrary Linux setup.
 
 I'm arguing that allowing PyPI uploads of binary wheels for Linux will be
 actively harmful.

There is no point in reinstating an argument that has already been made
and discussed in the other subthread (of course, you would have to read
it first to know that).

Regards

Antoine.


___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig