Re:Uv's killer feature is pulling in local dependencies
by dang on Sunday January 12, 2025 @03:52PM
(#42676823)
I've replaced the linkbait title with an attempt at saying what the feature is. If there's a more accurate wording, we can change it again.
[ Parent
| on HN ]
Re:Uv's killer feature is pulling in local dependencies
by astronautas on Sunday January 12, 2025 @03:54PM
(#42676839)
uh, thanks I guess.
Re:Uv's killer feature is pulling in local dependencies
by astronautas on Sunday January 12, 2025 @03:58PM
(#42676871)
How about "A UV feature that intrigues me most"?
Re:Uv's killer feature is pulling in local dependencies
by airstrike on Sunday January 12, 2025 @04:17PM
(#42677022)
Still clickbait if you don't say what the feature is.
Re:Uv's killer feature is pulling in local dependencies
by minimaxir on Sunday January 12, 2025 @04:24PM
(#42677079)
That's still clickbait, although less tropey. The common definition of clickbait is intentionally omitting information that incentives the user to click.
Re:Uv's killer feature is pulling in local dependencies
by dang on Sunday January 12, 2025 @05:00PM
(#42677385)
It's just standard practice here. See https://news.ycombinator.com/newsguidelines.html.
Re:Uv's killer feature is pulling in local dependencies
by astronautas on Sunday January 12, 2025 @05:58PM
(#42677869)
see my reply above
Re:Uv's killer feature is pulling in local dependencies
by zanie on Sunday January 12, 2025 @05:22PM
(#42677552)
I don't feel strongly, but as a uv author, I found "local dependencies" misleading. It's more like "uv's killer feature is making ad-hoc environments easy".
When we talk about local dependencies in the Python packaging ecosystem, it's usually adding some package on your file system to your environment. The existing title made me think this would be about the `[tool.uv.sources]` feature.
Really, it's about how we create environments on-demand and make it trivial to add packages to your environment or try other Python versions without mutating state.
Re:Uv's killer feature is pulling in local dependencies
by astronautas on Sunday January 12, 2025 @05:58PM
(#42677867)
Sorry dang, didn't know the practice + got a bit emotional haha. I agree with the remark above, my message is rather on how easy it is to run python scripts with dependencies (without mutating the state.
Re:Uv's killer feature is pulling in local dependencies
by dang on Sunday January 12, 2025 @07:18PM
(#42678514)
No worries!