Make --prefer-binary
the default behavior for pip install
#11214
Labels
kind: backwards incompatible
Would be backward incompatible
type: feature request
Request for a new feature
What's the problem this feature will solve?
Pip wheels with binary components are fast and easy to install and generally work out-of-the box vs downloading the source code and trying to build the wheel on the installing machine which may lack the toolchains needed (for some wheels they need more than a python-devel pkg and gcc). Pip currently prefers the latest packages even if it has to attempt building it.
Describe the solution you'd like
I'd like to see pip prefer downloading a binary wheel over source, so making --prefer-binary the default behavior instead of an optional flag.
Alternative Solutions
Using
--prefer-binary
on the command line works.Additional context
Many wheels are built and released automatically by CI tool-chains and will do partial releases, this is a problem for some platforms like arm64 that will see wheels missing for some versions and then get fixed in a later release. Using a default
--prefer-binary
would skip a partial release instead of failing an install.Code of Conduct
The text was updated successfully, but these errors were encountered: