Skip to content

Commit 5731038

Browse files
committed
Added paragraph about tools being allowed to modify default extras behavior
1 parent 763f81b commit 5731038

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

peps/pep-0771.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,14 @@ recognized as invalid in a dependency specification, it should be ignored, and
233233
if all specified extras are invalid, then this should be considered equivalent
234234
to ``package[]`` (rather than ``package``) and *not* install any default extras.
235235

236+
Finally, we note (as also discussed in `Relying on tooling to deselect
237+
any default extras`_) that package installers are allowed to implement their
238+
own options to control the above behavior, for example implementing an option
239+
that disables default extras for some or all packages regardless of where these
240+
packages appear in the dependency tree -- although if such options are
241+
implemented, they should be opt-in, and users should experience the above
242+
behavior as default.
243+
236244
Examples
237245
--------
238246

0 commit comments

Comments
 (0)