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

Antoine Pitrou solipsis at pitrou.net
Tue Jul 7 16:07:08 CEST 2015


On Tue, 7 Jul 2015 23:53:59 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> On 7 July 2015 at 07:46, Antoine Pitrou <solipsis at pitrou.net> wrote:
> > On Mon, 6 Jul 2015 22:34:38 +0100
> > Paul Moore <p.f.moore at gmail.com> wrote:
> >> On 6 July 2015 at 19:18, Antoine Pitrou <solipsis at pitrou.net> wrote:
> >> > 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)
> >>
> >> At the moment it's just a simple "if the wheel is for Linux, reject it" test.
> >>
> >> As to whether that's too conservative, one of the Linux guys would
> >> need to comment. Maybe the issue is simply that we can't be sure
> >> people will take the care that you do, and the risk of people getting
> >> broken installs is too high?
> >
> > Then how about a warning, or a rejection by default with a well-known
> > way to bypass it?
> 
> Unfortunately, the compatibility tagging for Linux wheels is currently
> so thoroughly inadequate that even in tightly controlled environments
> having a wheel file escape from its "intended" target platforms can
> cause hard to debug problems.

I'm not sure what you're pointing to, could you elaborate a bit?

For the record, building against a well-known, old glibc + gcc has
served the Anaconda platform well.

Regards

Antoine.


More information about the Distutils-SIG mailing list