We could require the below, but I fear that would limit what you’re looking for in terms of future expansion of the [run] table.
run.dependencies = [
"...",
]
Perhaps # Script Metadata as a marker – I think # [run] on its own is likely too generic, even if not currently used much.
A
P.S. @moderators would it be possible to split the recent discussion into a [dependencies.run] thread please? (perhaps starting at PEP 723: Embedding pyproject.toml in single-file scripts - #123).