Re:Uv is the best thing to happen to the Python ecosystem in...
by hshdhdhehd on Wednesday October 29, 2025 @09:29PM
(#45755387)
And a shell
Re:Uv is the best thing to happen to the Python ecosystem in...
by dmd on Wednesday October 29, 2025 @09:40PM
(#45755476)
They gotta have a computer too. And a source of power.
Re:Uv is the best thing to happen to the Python ecosystem in...
by rafael-lua on Wednesday October 29, 2025 @09:47PM
(#45755519)
And my ax... Oh, this is hackernews.
Re:Uv is the best thing to happen to the Python ecosystem in...
by hshdhdhehd on Wednesday October 29, 2025 @10:52PM
(#45755938)
"I write code and am curious I am a hacker"
"Lol, no I break into computer systems I am a hacker"
"Geeze hell no I have an axe, I am an OG hacker"
Re:Uv is the best thing to happen to the Python ecosystem in...
by Zamiel_Snawley on Wednesday October 29, 2025 @09:47PM
(#45755518)
I don’t think they need a shell unless uv itself requires it, the shebang is handled by the exec syscall.
Re:Uv is the best thing to happen to the Python ecosystem in...
by hshdhdhehd on Wednesday October 29, 2025 @09:51PM
(#45755548)
Of course. Hense the bash shebang - the shebang is the step before the shell is used. Thanks.
Re:Uv is the best thing to happen to the Python ecosystem in...
by lgas on Wednesday October 29, 2025 @10:31PM
(#45755787)
And an operating system
Re:Uv is the best thing to happen to the Python ecosystem in...
by NewJazz on Wednesday October 29, 2025 @10:55PM
(#45755951)
No, not a shell. Just a /usr/bin/env
Re:Uv is the best thing to happen to the Python ecosystem in...
by TeeMassive on Wednesday October 29, 2025 @10:17PM
(#45755720)
This is a PEP and not specific to uv: https://peps.python.org/pep-0723/
Re:Uv is the best thing to happen to the Python ecosystem in...
by NewJazz on Wednesday October 29, 2025 @10:56PM
(#45755955)
The shebang line references uv.
Re:Uv is the best thing to happen to the Python ecosystem in...
by lxgr on Thursday October 30, 2025 @05:39AM
(#45758038)
Is it time for a Debian `alternatives`-style system for PIP 723 compliant Python wrappers yet?
I could totally see `#!/usr/bin/python723` become a thing :)
Re:Uv is the best thing to happen to the Python ecosystem in...
by dragonwriter on Thursday October 30, 2025 @01:10AM
(#45756637)
You need a runner for scripts that follow the PEP (actually the packaging standard established initially by the PEP, hence the note about it's historical status.)
The two main runners I am aware of are uv and pipx. (Any compliant runner can be referenced in the shebang to make a script standalone where shebangs are supported.)
But whoever runs this has to install uv first, so not really standalone.