Skip to content

Commit e9e1214

Browse files
authored
PEP 751: drop the requirement that installers default to not installing any extras or dependency groups (#4300)
Based on feedback from Poetry. Also fix some typos.
1 parent 21848e4 commit e9e1214

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

peps/pep-0751.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ do for *containers*". There are no backwards-compatibility concerns as strings
729729
are containers themselves.
730730

731731
Fourth, a tool MUST raise an error if an extra or dependency group is specified
732-
in a marker expression that does not exist in ``packages.extras`` and
733-
``packages.dependency-groups``, respectively.
732+
in a marker expression that does not exist in ``extras`` or
733+
``dependency-groups``, respectively.
734734

735735
These changes, along with ``packages.extras``/ ``packages.dependency-groups``
736736
and marker expressions' Boolean logic support, allow for expressing arbitrary,
@@ -751,12 +751,10 @@ installed when:
751751
The same flexibility applies to dependency groups.
752752

753753
How users tell a tool what extras and/or dependency groups they want installed
754-
is up to the tool. Tools MUST default to no extras or dependency groups being
755-
requested by the user if no extras or dependency groups are requested.
756-
Installers MUST support the marker expression syntax additions as
757-
proposed by this PEP. Lockers MAY support writing lock files that utilize the
758-
proposed marker expression syntax additions (i.e. lockers can choose to only
759-
support writing single-use lock files).
754+
is up to the tool. Installers MUST support the marker expression syntax
755+
additions as proposed by this PEP. Lockers MAY support writing lock files that
756+
utilize the proposed marker expression syntax additions (i.e. lockers can choose
757+
to only support writing single-use lock files).
760758

761759

762760
-------

0 commit comments

Comments
 (0)