PEP 751: address comments (#3898)

This commit is contained in:
Brett Cannon 2024-08-07 18:22:55 -07:00 committed by GitHub
parent 74b07ca545
commit 3b290a721b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -312,11 +312,12 @@ unless otherwise specified for the same reason.
- Array of tables
- The array contains all data on the locked package versions.
- Lockers SHOULD record packages in order by ``packages.name`` lexicographically
and ``packages.version`` by the sort order for `version specifiers`_.
, ``packages.version`` by the sort order for `version specifiers`_, and
``packages.markers`` lexicographically.
- Lockers SHOULD record keys in the same order as written in this PEP to
minimize changes when updating.
- Designed so that relevant details as to why a package is included are
in one place to make diff reading easier.
- Entries are designed so that relevant details as to why a package is included
are in one place to make diff reading easier.
``packages.name``
@ -453,7 +454,8 @@ unless otherwise specified for the same reason.
``packages.files.lock``
'''''''''''''''''''''''
- Required when ``[[file-locks]]`` is used
- Required when ``[[file-locks]]`` is used (does not apply under per-package
locking)
- Array of strings
- An array of ``file-locks.name`` values which signify that the file is to be
installed when the corresponding ``[[file-locks]]`` table applies to the