I use uv in my shebang and “uv run script.py”. Never run into any issues.
Here’s a couple links to discussions about it on HN:
Here’s a couple links to discussions about it on HN:
And how does that work on Windows, which to my knowledge doesn’t even support shebangs?