Skip to content

Commit dd603a1

Browse files
committed
chore: add new fields from PEP 794
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 3a35f8d commit dd603a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

peps/pep-0808.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ cases that have come up:
124124
field specifically because you _want_ the build tool to add these, so the
125125
``[project]`` table setting would be useless, you'd almost never be able to
126126
use it.
127+
- Adding generated modules to ``import-names`` or ``import-namespaces``.
127128

128129
All of these use cases have a similar feature: they are adding something
129130
dynamically to a fixed list (possibly a narrower pin for the dependency case).
@@ -231,6 +232,8 @@ The fields that are arrays or tables with arbitrary entries are:
231232
* ``optional-dependencies``: A new extra or new items can be added to a
232233
existing extra.
233234
* ``urls``: New urls can be added. Existing ones cannot be changed or removed.
235+
* ``import-names``, ``import-namespaces``: New import names or namespaces can
236+
be added. Existing ones cannot be modified or removed.
234237

235238
To add items, users must opt-in by listing the field in ``dynamic``; without
236239
that, the metadata continues to be entirely static.

0 commit comments

Comments
 (0)