From 4b7052d9ce45a5d8e36c7b2481fb3eb688dbd94c Mon Sep 17 00:00:00 2001 From: Greg Roodt Date: Tue, 4 Mar 2025 17:22:22 +1100 Subject: [PATCH 1/3] Update pep-0751.rst --- peps/pep-0751.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0751.rst b/peps/pep-0751.rst index 3655ad44cd4..4e1d38de9b6 100644 --- a/peps/pep-0751.rst +++ b/peps/pep-0751.rst @@ -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``). From 85528f4b55011ee6475bf85a56999a9fc6850fd3 Mon Sep 17 00:00:00 2001 From: Greg Roodt Date: Tue, 4 Mar 2025 17:32:56 +1100 Subject: [PATCH 2/3] Update pep-0751.rst --- peps/pep-0751.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0751.rst b/peps/pep-0751.rst index 4e1d38de9b6..9842b51fd71 100644 --- a/peps/pep-0751.rst +++ b/peps/pep-0751.rst @@ -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). From 51b345e40c065d3dd72aa146ec9ca98fc4f33cf5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 4 Mar 2025 14:56:42 +0200 Subject: [PATCH 3/3] PEP 751: Fix typos --- peps/pep-0751.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/peps/pep-0751.rst b/peps/pep-0751.rst index 9842b51fd71..a729a4a2512 100644 --- a/peps/pep-0751.rst +++ b/peps/pep-0751.rst @@ -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 ` and :ref:`packaging:dependency-groups`. As such, this PEP supports additions to @@ -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]`` @@ -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 @@ -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.