Skip to content

Commit 820c4f4

Browse files
committed
Document that using overrides disables all wheels
Update documentation to state that using command line options on any requirements will disable all usage of wheels. Since this is unexpected behavior, move text to a warning.
1 parent 8ea2651 commit 820c4f4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/html/cli/pip_install.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,11 @@ Per-requirement Overrides
205205
-------------------------
206206

207207
Since version 7.0 pip supports controlling the command line options given to
208-
``setup.py`` via requirements files. This disables the use of wheels (cached or
209-
otherwise) for that package, as ``setup.py`` does not exist for wheels.
208+
``setup.py`` via requirements files.
209+
210+
.. warning::
211+
212+
This disables the use of wheels (cached or otherwise).
210213

211214
The ``--global-option`` and ``--install-option`` options are used to pass
212215
options to ``setup.py``. For example:

news/9674.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Clarify that using per-requirement overrides disables the usage of wheels.

0 commit comments

Comments
 (0)