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 Jan 6, 2022
1 parent 8ea2651 commit 820c4f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/html/cli/pip_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,11 @@ 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).

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 820c4f4

Please sign in to comment.