This is it. Switch to uv!
This time for real!
This time for real!
And here: https://pyproject-nix.github.io/uv2nix/FAQ.html#why-doesnt-u...
I'd love for uv to lock build dependencies, but due to the dynamic nature of Python package metadata it's quite a hard problem. It'll be supported eventually though.
(I work on uv)
And yes, build dependencies is the big elephant of why Python packaging sucks.