pip
pip copied to clipboard
[DRAFT] disentangle --no-binary
This is a draft PR to illustrate the whole path towards disentangling --no-binary. Please do not do detailed code review here, it will be split in individual PRs for review. Questions and suggestions on the overall approach are most welcome here.
This is encapsulates my takeaways from #9778 and #9422.
-
[ ] deprecate
--install-option(#11359) -
[ ] clarify the warning message when
--install-option/--global-option/--build-optionis used, saying that it implies--no-binary=:all:which is accurate, instead ofdisabling all use of wheelwhich was not entirely true in all cases. (also in #11359) -
[ ] add a dreprecation warning when
--no-binaryimplies setup.py install -
[ ] add a
no-binary-builds-wheelsfeature flag which does the following when--no-binaryis used:- instead of forcing
setup.py installlet it build and install a wheel (thereby silencing the deprecation warning) - enable the use of the cache of locally built wheels in
pip installandpip wheel(the user can still control it with--no-cache)
- instead of forcing
-
[ ] pass
--build-optionand--global-optionin the build step, likepip wheeldoes - if only for symmetry and to soften the transition; we nevertheless recommend users to use--config-settingsand we'll likely deprecate these in the future, forpip installandpip wheelat the same time.