Skip to content

Commit 3403e12

Browse files
committed
Document that using overrides disables all wheels
See pypa#4118. 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 e7d6e54 commit 3403e12

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/html/reference/pip_install.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,12 @@ Per-requirement Overrides
315315
-------------------------
316316

317317
Since version 7.0 pip supports controlling the command line options given to
318-
``setup.py`` via requirements files. This disables the use of wheels (cached or
319-
otherwise) for that package, as ``setup.py`` does not exist for wheels.
318+
``setup.py`` via requirements files.
319+
320+
.. warning::
321+
322+
This disables the use of wheels (cached or otherwise),
323+
as ``setup.py`` does not exist for wheels.
320324

321325
The ``--global-option`` and ``--install-option`` options are used to pass
322326
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)