-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip wheel: forcing download of wheels from PyPI #1483
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
Comments
I believe the behavior has always been this, however I don't see any reason not to either allow an option, or just do it by default. |
I'd be totally fine with downloading wheels by default :) |
This has indeed always been the behaviour (and I agree that it's not always what's desired). I would be +1 on an option to always download. Offhand, I can't think of a reason why it shouldn't be the default, but I guess there may be people who rely on the current behaviour. |
I can't see how you'd rely on the current behaviour, I think switching would be a lot more intuitive for the vast majority of people. "Oh, so goes back and does a google search to find the SO answer explaining the extra flag you have to add, or dives into the docs to find explanation of behaviour If we were optimistic, in the future where most [in-use] packages are providing wheels, then |
dupe to #1310 |
I agree the default should be to download the wheels, vs leaving holes in your wheelhouse. |
When running
pip wheel
against a list of requirements, pip skips packages that already have a wheel available on PyPI. I believe the skip behavior was added in 1.5.https://github.com/pypa/pip/blob/master/pip/wheel.py#L495
This is a slight annoyance when building a full wheel repository for using with
pip --no-index --use-wheel --find-links=…
because all the cool packages that provide wheels on PyPI are not available in the local wheel cache.I wrote a wrapper script that captures pip's output and downloads existing wheels:
https://gist.github.com/brutasse/8476531#file-wheels-py-L52-L63
Could pip gain an option to force download of PyPI wheels? It would make such hacks unnecessary.
The text was updated successfully, but these errors were encountered: