# Name for PEP 723 style dependency declarations

**URL:** <https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993>\
**Category:** Standards\
**Created:** [November 5, 2023, 3:30pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993 "2023-11-05T15:30:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradyunsg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pradyunsg/32/206_2.png) [@pradyunsg](https://discuss.python.org/u/pradyunsg)\
**Post date:** [November 5, 2023, 3:30pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/1 "2023-11-05T15:30:21Z")

</div>

This is in the same spirit as [Name for pyproject.toml builds and PEPs](https://discuss.python.org/t/name-for-pyproject-toml-builds-and-peps/1659)

PEP 723 is provisionally accepted but it does not have a clear user-facing name that we can use to communicate about the core mechanism.

IMO we should have a specific suggestion for what to call this style of dependency specification, in conversation and documentation, ideally avoiding the need to state “PEP 723” or “pyproject.toml” when describing this style of dependency declaration.

What should that name be?

/cc @ofek @brettcannon @pf_moore for their thoughts.

---

<div class="post-metadata">

**Author:** ![pf\_moore](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pf_moore/32/35_2.png) [@pf\_moore](https://discuss.python.org/u/pf_moore)\
**Post date:** [November 5, 2023, 3:35pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/2 "2023-11-05T15:35:34Z")

</div>

Personally, I would refer to it as “Script dependency data”.

---

<div class="post-metadata">

**Author:** ![ofek](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/ofek/32/1033_2.png) [@ofek](https://discuss.python.org/u/ofek)\
**Post date:** [November 5, 2023, 3:36pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/3 "2023-11-05T15:36:38Z")

</div>

I would opt for “runtime requirements” which would translate well to the `run` table when embedded in a project’s `pyproject.toml`.

---

<div class="post-metadata">

**Author:** ![jeanas](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/jeanas/32/8115_2.png) [@jeanas](https://discuss.python.org/u/jeanas)\
**Post date:** [November 5, 2023, 3:49pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/4 "2023-11-05T15:49:20Z")

</div>

“Inline script metadata”?

---

<div class="post-metadata">

**Author:** ![BrenBarn](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@BrenBarn](https://discuss.python.org/u/BrenBarn)\
**Post date:** [November 5, 2023, 6:56pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/5 "2023-11-05T18:56:48Z")

</div>

Why is it bad to state “pyproject.toml”? I thought that the acceptance was provisional on a `[run]` table being added to pyproject.toml, and indeed that part of the rationale for the acceptance was that it would make things more coherent because the same information is in the script or in pyproject.toml.

So I think calling it “inline dependencies” or “in-script dependencies” is fine, and where convenient the documentation can also say something like “inline dependencies (in the same way they would be specified in pyproject.toml”. (And _include a link_ to the documentation of pyproject.toml!)

---

<div class="post-metadata">

**Author:** ![pradyunsg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pradyunsg/32/206_2.png) [@pradyunsg](https://discuss.python.org/u/pradyunsg)\
**Post date:** [November 5, 2023, 7:32pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/6 "2023-11-05T19:32:19Z")

</div>

> [@BrenBarn](#):
>
> Why is it bad to state “pyproject.toml”?

No one said it’s “bad”.

The reasons for avoiding it are primarily-opinion-based so I’m not gonna spend time trying to convince anyone here. IMO it comes down to avoiding user confusion. The information that you can specify in the script is not equivalent to what you can with the `pyproject.toml` file\[1\]. It is, definitionally, a strict subset. Using a reference to pyproject.toml can be misleading in that sense because it’s not “pyproject.toml in the script”, but rather a bit of (eventually-hopefully) shared support with the same schema being permitted across both TOML documents with hopefully similar semantics.

* * *

1. It doesn’t need to be.

---

<div class="post-metadata">

**Author:** ![pradyunsg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pradyunsg/32/206_2.png) [@pradyunsg](https://discuss.python.org/u/pradyunsg)\
**Post date:** [November 5, 2023, 8:01pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/7 "2023-11-05T20:01:28Z")

</div>

> [@jeanas](#):
>
> Inline script metadata

Going off the likes on the discussion here in the last few hours, looks like this is the “name” that people are leaning towards the most.

@ofek Would you be OK with this and, if so, would you be willing to update the PEP title to reflect this naming?

---

<div class="post-metadata">

**Author:** ![ofek](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/ofek/32/1033_2.png) [@ofek](https://discuss.python.org/u/ofek)\
**Post date:** [November 5, 2023, 8:26pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/8 "2023-11-05T20:26:11Z")

</div>

Sure! Am I allowed to do that?

---

<div class="post-metadata">

**Author:** ![pradyunsg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pradyunsg/32/206_2.png) [@pradyunsg](https://discuss.python.org/u/pradyunsg)\
**Post date:** [November 5, 2023, 8:29pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/9 "2023-11-05T20:29:21Z")

</div>

If that’s a PEP process question, then yes. File the PR and ask for Brett’s approval on it, since he’s the only one who hasn’t opined here. 😅

---

<div class="post-metadata">

**Author:** ![ofek](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/ofek/32/1033_2.png) [@ofek](https://discuss.python.org/u/ofek)\
**Post date:** [November 5, 2023, 9:16pm UTC](https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/37993/10 "2023-11-05T21:16:25Z")

</div>

> <https://github.com/python/peps/pull/3522>
>
> https://discuss.python.org/t/name-for-pep-723-style-dependency-declarations/3799…3/4
> 
> 
> \----
> :books: Documentation preview :books:: https://pep-previews--3522.org.readthedocs.build/
