Re:Uv is the best thing to happen to the Python ecosystem in...
by oblio on Wednesday October 29, 2025 @04:08PM
(#45752368)
Isn't uv like... a Rust binary? If that sh has any sense it just copies the binary and adds it to PATH.
[ Parent
| on HN ]
Re:Uv is the best thing to happen to the Python ecosystem in...
by rieogoigr on Wednesday October 29, 2025 @05:11PM
(#45753095)
but since you are curling a web URL straight to sh you will never know. which is the problem.
Re:Uv is the best thing to happen to the Python ecosystem in...
by bmicraft on Wednesday October 29, 2025 @07:26PM
(#45754472)
But it's not if you trust the url and curl has `--proto '=https' --tlsv1.2` as args
Re:Uv is the best thing to happen to the Python ecosystem in...
by oblio on Thursday October 30, 2025 @07:22AM
(#45758778)
What about running a downloaded binary installer? What if the URL is HTTPS?
Re:Uv is the best thing to happen to the Python ecosystem in...
by dboon on Wednesday October 29, 2025 @05:32PM
(#45753331)
If you look at the script, this is indeed more or less what happens. Except the folks over there are very clever about ergonomics, so the script is quite long so it can detect your architecture, OS, and even libc to give you an appropriate binary. There’s a tool that they use (which they wrote) which generates such install scripts for you
It’s really excellent stuff