[Distutils] "not a supported wheel on this platform"

Paul Moore p.f.moore at gmail.com
Tue Oct 28 16:03:23 CET 2014


On 28 October 2014 14:51, Antoine Pitrou <solipsis at pitrou.net> wrote:
> Does matching really happen that way?

Unfortunately yes :-(

get_supported() introspects the system you're installing on and builds
a list of tag combinations it's willing to accept. In doing so it
misses some that I'd consider obscure but reasonable (notably here,
independent of Python implementation (py rather than cp) but
architecture specific). I consider this a flawed design, but it's
always been like this.

You'll need to raise a bug report for this. Actually two, as the
pep425tags code is in both pip and wheel independently (the one you
actually *want* is the pip one, though).

I know - this should really be fixed. I'd like to see pep425tags in a
separate project, referenced (or vendored if necessary) from both pip
and wheel. And I'd like a matching algorithm for checking tags rather
than generating a list of valid values. Oh, and a pony :-)

> Here it is anyway. There's no "py2" at all:

Sorry, from any given Python you'll get either py2 or py3 depending on
the major version of your Python.

Paul


More information about the Distutils-SIG mailing list