@@ -145,12 +145,12 @@ New key in ``[project]`` metadata table
145145A new key will be added to the ``[project] `` table in project metadata as
146146originally defined in :pep: `621 ` and now defined in the `PyPA specifications
147147<https://packaging.python.org/en/latest/specifications/pyproject-toml/> `_. This key will be named
148- ``default-optional-dependency-keys `` with the following description:
148+ ``default-extras `` with the following description:
149149
150150* `TOML <https://toml.io/ >`_ type: Array of strings
151151* Corresponding core metadata field: ``Default-Extra ``
152152
153- Each string in ``default-optional-dependency-keys `` must be the name of an extra
153+ Each string in ``default-extras `` must be the name of an extra
154154defined in `optional-dependencies
155155<https://packaging.python.org/en/latest/specifications/pyproject-toml/#dependencies-optional-dependencies> `_,
156156and each extra in this array will be converted to a matching ``Default-Extra ``
@@ -160,7 +160,7 @@ produce the example ``Default-Extra`` entries presented in the previous section
160160.. code-block :: toml
161161
162162 [project]
163- default-optional-dependency-keys = [
163+ default-extras = [
164164 "recommended",
165165 ]
166166
169169.. code-block :: toml
170170
171171 [project]
172- default-optional-dependency-keys = [
172+ default-extras = [
173173 "backend1",
174174 "backend2",
175175 "backend3"
@@ -263,7 +263,7 @@ would choose to have this be included as a default extra:
263263.. code-block :: toml
264264
265265 [project]
266- default-optional-dependency-keys = [
266+ default-extras = [
267267 "recommended"
268268 ]
269269
@@ -286,7 +286,7 @@ extra:
286286.. code-block :: toml
287287
288288 [project]
289- default-optional-dependency-keys = [
289+ default-extras = [
290290 "recommended"
291291 ]
292292
@@ -327,7 +327,7 @@ for each backend or frontend, and provide a default, e.g.:
327327.. code-block :: toml
328328
329329 [project]
330- default-optional-dependency-keys = [
330+ default-extras = [
331331 "backend1"
332332 ]
333333
@@ -354,7 +354,7 @@ could define the following configuration:
354354.. code-block :: toml
355355
356356 [project]
357- default-optional-dependency-keys = [
357+ default-extras = [
358358 "pyqt5"
359359 ]
360360
@@ -406,7 +406,7 @@ This could be achieved with e.g:
406406.. code-block :: toml
407407
408408 [project]
409- default-optional-dependency-keys = [
409+ default-extras = [
410410 "recommended"
411411 ]
412412
@@ -438,7 +438,7 @@ configuration would solve this case:
438438.. code-block :: toml
439439
440440 [project]
441- default-optional-dependency-keys = [
441+ default-extras = [
442442 "recommended"
443443 ]
444444
0 commit comments