Skip to content

Commit 72e3e6c

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 72e3e6c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/html/cli/pip_install.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,12 @@ 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),
213+
as ``setup.py`` does not exist for wheels.
210214

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

news/9674.doc.rst

+1
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)