Skip to content

Commit

Permalink
Add note about unrecognized extras
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Jan 29, 2025
1 parent fa12de7 commit c93dac5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions peps/pep-0771.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,13 @@ Note that ``package[]`` would continue to be equivalent to ``package`` and would
not be provided as a way to install without default extras (see the `Rejected
Ideas`_ section for the rationale).

We also note that some tools such as `pip`_ currently ignore unrecognized
extras, and emit a warning to the user to indicate that the extra has not been
recognized. In this case, if no extras are recognized as being valid in a
dependency specification, we recommend that this case be treated as if the user
had not passed any explicit extras, and therefore any default extras should be
installed.

Installing without default extras
---------------------------------

Expand Down

0 comments on commit c93dac5

Please sign in to comment.