Skip to content
Merged
Changes from all 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
14 changes: 7 additions & 7 deletions peps/pep-0751.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ internal lock file format.
Lock files can be *single-use* and *multi-use*. Single-use lock files are things
like ``requirements.txt`` files, which serve a single use-case/purpose (hence
why it isn't uncommon for a project to have multiple requirements files, each
for a diffetent use-case). Multi-use lock files represent multiple use-cases
for a different use-case). Multi-use lock files represent multiple use-cases
within a single file, often expressed through
:ref:`extras <packaging:core-metadata-provides-extra>` and
:ref:`packaging:dependency-groups`. As such, this PEP supports additions to
Expand Down Expand Up @@ -540,7 +540,7 @@ See ``packages.vcs.subdirectory``.
`software bill of materials`_ -- aka SBOMs -- and to assist in finding a file
if a URL ceases to be valid.
- Tools MAY support installing from an index if the URL recorded for a specific
file is no longer vaild (e.g. returns a 404 HTTP error code).
file is no longer valid (e.g. returns a 404 HTTP error code).


``[packages.sdist]``
Expand Down Expand Up @@ -662,8 +662,8 @@ See ``packages.archive.hashes``.
:ref:`packaging:index-hosted-attestations`.


``packages.attestation-identites.kind``
'''''''''''''''''''''''''''''''''''''''
``packages.attestation-identities.kind``
''''''''''''''''''''''''''''''''''''''''

- **Type**: string
- **Required?**: yes
Expand Down Expand Up @@ -702,7 +702,7 @@ Additions to marker expression syntax

This PEP proposes adding to the
:ref:`packaging:dependency-specifiers-environment-markers` specification such
that extras and dependency group reliationships for an entry in ``[[packages]]``
that extras and dependency group relationships for an entry in ``[[packages]]``
can be expressed in ``packages.marker``. The additions outlined in this PEP
ONLY apply in the context of lock files as defined by this PEP and not in other
contexts where marker syntax is used (e.g. ``METADATA``, ``pyproject.toml``).
Expand All @@ -713,7 +713,7 @@ been requested to be installed, respectively.

Second, the marker specification will be changed to allow for containers and not
just strings for values. ONLY the new markers introduced in this PEP MAY and
MUST must be used with a :py:class:`collections.abc.Container` type for their
MUST be used with a :py:class:`collections.abc.Container` type for their
value (which default to empty containers). An assumption of the type of
container used MUST NOT be made (e.g. could be a set, list, or tuple).

Expand Down Expand Up @@ -994,7 +994,7 @@ Reference Implementation

A proof-of-concept implementing most of this PEP for various versions
of this PEP can be found at
https://github.com/brettcannon/mousebender/tree/pep . While the various
https://github.com/brettcannon/mousebender/tree/pep. While the various
implementations have not matched the exact format of this PEP, the general
semantic requirements have been implemented before.

Expand Down