Skip to content

Commit

Permalink
Document that using overrides disables all wheels
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
martey committed Sep 29, 2021
1 parent 8ea2651 commit 72e3e6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/html/cli/pip_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,12 @@ Per-requirement Overrides
-------------------------

Since version 7.0 pip supports controlling the command line options given to
``setup.py`` via requirements files. This disables the use of wheels (cached or
otherwise) for that package, as ``setup.py`` does not exist for wheels.
``setup.py`` via requirements files.

.. warning::

This disables the use of wheels (cached or otherwise),
as ``setup.py`` does not exist for wheels.

The ``--global-option`` and ``--install-option`` options are used to pass
options to ``setup.py``. For example:
Expand Down
1 change: 1 addition & 0 deletions news/9674.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that using per-requirement overrides disables the usage of wheels.

0 comments on commit 72e3e6c

Please sign in to comment.