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
28 changes: 14 additions & 14 deletions peps/pep-0751.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,20 +154,6 @@ consistent order. Usage of inline tables SHOULD also be kept consistent.
- If an tool doesn't support a major version, it MUST raise an error.


``created-by``
==============

- **Type**: string
- **Required?**: yes
- **Inspiration**: Tools with their name in their lock file name
- Records the name of the tool used to create the lock file.
- Tools MAY use the ``[tool]`` table to record enough details that it can be
inferred what inputs were used to create the lock file.
- Tools SHOULD record the normalized name of the tool if it is available as a
Python package to facilitate finding the tool.



``environments``
================

Expand Down Expand Up @@ -202,6 +188,19 @@ consistent order. Usage of inline tables SHOULD also be kept consistent.
be installed MUST narrow down to a single entry at install time.


``created-by``
==============

- **Type**: string
- **Required?**: yes
- **Inspiration**: Tools with their name in their lock file name
- Records the name of the tool used to create the lock file.
- Tools MAY use the ``[tool]`` table to record enough details that it can be
inferred what inputs were used to create the lock file.
- Tools SHOULD record the normalized name of the tool if it is available as a
Python package to facilitate finding the tool.


.. Identification

``packages.name``
Expand Down Expand Up @@ -647,6 +646,7 @@ Example

metadata-version = "1.0"
requires-python = ">=3.9"
created-by = "PEP 751"

[[packages]]
name = "attrs"
Expand Down