How would you like to declare runtime dependencies and Python requirements for PEP 723?

+1 from me on

# /// run
# requires-python = ">=3.12"
# dependencies = ["requests", "textual>=0.44.1"]
# ///

As I said above, I would have been perfectly happy with this as a “compromise proposal” for PEPs 722 and 723. I assume that if we take this route, what happens in pyproject.toml would be discussed and agreed separately.

I know @ofek has said he has limited time - if this format is agreed as the final resolution for PEP 723, I’d be happy to help out with revising the PEP text, if needed.

17 Likes