PEP 723: Embedding pyproject.toml in single-file scripts

This is very close to a TOML-based variant of PEP 722, with run.dependencies as the dependency block data, and all other sub-keys of run as “for future expansion”. I’d support exploring this as a combined version of 722/723, if we could address our other differences of opinion over format.

But I’m not sure how this links in at all to pyproject.toml, except in the sense that “Projects that aren’t meant to generate a wheel and pyproject.toml might end up with something similar, but we don’t know that for sure yet”, so if we do go down that route someone would have to explain that to me.

2 Likes