PEP 725: Specifying external dependencies in pyproject.toml (round 2)

Hi, sorry I’m pretty late to the game here. I’ve had an open tab to read this for a month…

I see this not the first time it’s been raised, but I also don’t see a clear conclusion:

I’m confused by the vague host-requires, which is both a build and runtime dependency. Differentiating between built-time and run-time dependencies makes sense, of course. And differentiating between cross-compilation build and host architectures in dependencies makes sense. This gives us a 2x2 grid:

Build Architecture Host (target) Architecture
Build-time build-requires host-requires
Run-time N/A dependencies + host-requires

host-requires awkwardly occupies 2 squares. I would strongly suggest removing the runtime component of it. Things can always be listed in dependencies if necessary for both.

2 Likes