Skip to content

Commit

Permalink
Document that using overrides disables all wheels
Browse files Browse the repository at this point in the history
See #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.
  • Loading branch information
martey committed Mar 1, 2021
1 parent e7d6e54 commit 3403e12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/html/reference/pip_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,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 3403e12

Please sign in to comment.