Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/specifications/core-metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ The format of a requirement string contains from one to four parts:
* An environment marker after a semicolon. This means that the
requirement is only needed in the specified conditions.

See :pep:`508` for full details of the allowed format.
See :ref:`dependency-specifiers` for full details of the allowed format.

The project names should correspond to names as found
on the `Python Package Index`_.
Expand Down
4 changes: 2 additions & 2 deletions source/specifications/dependency-groups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ The output is therefore valid ``requirements.txt`` data.
realized_group = []
for item in raw_group:
if isinstance(item, str):
# packaging.requirements.Requirement parsing ensures that this is a valid
# PEP 508 Dependency Specifier
# packaging.requirements.Requirement parsing ensures that this
# is a valid dependency specifier
# raises InvalidRequirement on failure
Requirement(item)
realized_group.append(item)
Expand Down
Loading