Skip to content

Commit c93dac5

Browse files
committed
Add note about unrecognized extras
1 parent fa12de7 commit c93dac5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

peps/pep-0771.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ Note that ``package[]`` would continue to be equivalent to ``package`` and would
229229
not be provided as a way to install without default extras (see the `Rejected
230230
Ideas`_ section for the rationale).
231231

232+
We also note that some tools such as `pip`_ currently ignore unrecognized
233+
extras, and emit a warning to the user to indicate that the extra has not been
234+
recognized. In this case, if no extras are recognized as being valid in a
235+
dependency specification, we recommend that this case be treated as if the user
236+
had not passed any explicit extras, and therefore any default extras should be
237+
installed.
238+
232239
Installing without default extras
233240
---------------------------------
234241

0 commit comments

Comments
 (0)