Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime warning about missing wheel support #905

Closed
chrullrich opened this issue Dec 30, 2016 · 3 comments
Closed

Runtime warning about missing wheel support #905

chrullrich opened this issue Dec 30, 2016 · 3 comments

Comments

@chrullrich
Copy link

setuptools should issue a giant warning that it does not support installing wheels when all potentially matching distributions in a PyPI result (or other collection of installation sources) are wheels. If it does not get to this point because it excludes all wheels first and then ends up with an empty set of distributions, it might as well warn then, too.

Currently, all the user gets to see is this:

> python setup.py install
[...]
Processing dependencies for [internal package name elided]
Searching for PyQt5>=5.7
Reading https://pypi.python.org/simple/PyQt5/
No local packages or working download links found for PyQt5>=5.7
error: Could not find suitable distribution for Requirement.parse('PyQt5>=5.7')

There is no indication whatsoever of why no suitable distribution is found. A look at the PyPI web site will show at least one matching package, and pip will install it. For a user who does not know about the lack of wheel support in setuptools, it is then not exactly trivial to find out why this command does not work.

Googling the error message does not (at this time) return any helpful hits. Not even googling "setuptools wheel" does, and this query is far more targeted, if very unlikely to occur to an unaware user.

Finally, even for a user who is familiar with the wheel package format, it is not obvious at all that setuptools cannot install wheels, when it is the centrally important tool for building them.

Perhaps setuptools could delegate installation to pip instead of easy_install.

@jaraco
Copy link
Member

jaraco commented Dec 31, 2016

This project is open to relying on pip for installing packages.

@FRidh
Copy link

FRidh commented Jun 5, 2017

Could probably close this in favor of #917.

@benoit-pierre
Copy link
Member

Wheels support was added in v38.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants