| ▲ | Neywiny a day ago | ||||||||||||||||
I tried it out successfully for the first time the other day (had 1 false start some months ago). This is after 10 ish years of system wide installs or venvs. I didn't find it fast at all. Every time I went to run the script it spent multiple seconds checking dependencies. Then one time it updated one, which luckily didn't break anything but I did get concerned. I'm sure there're some flags I didn't know to use but uvx was not great. On the other hand, it did seem to install the packages faster than pip. | |||||||||||||||||
| ▲ | nmstoker a day ago | parent | next [-] | ||||||||||||||||
YMMV depending on specific needs but generally even on Windows on an average machine with an imperfect setup I've found it exceptionally fast, often well inside the sub-second range, to the point that I do sometimes worry if it really ran. Sounds like it's worth another look at your settings to make sure they are right. | |||||||||||||||||
| ▲ | coldtea a day ago | parent | prev | next [-] | ||||||||||||||||
>I didn't find it fast at all. Compared to what? Fast is relative. Compared to pip it's miles ahead. | |||||||||||||||||
| |||||||||||||||||
| ▲ | intoXbox a day ago | parent | prev | next [-] | ||||||||||||||||
I do avoid uv run for this reason but it’s useful for managing python projects. The speed claims actually have a lot to do with efficient caching, and I run several projects on the same Python (patch) version with similar packages on the same system | |||||||||||||||||
| ▲ | zanie a day ago | parent | prev [-] | ||||||||||||||||
If you want to open an issue with verbose logs (`-vv`) I'd be happy to look into it. You can set `UV_LOG_CONTEXT=1` to emit timing information. If you're running Python scripts, I'd recommend using `uv lock --script <path>` to generate a lockfile — we don't do that by default for scripts yet but that will avoid unexpected upgrades. (I work on uv) | |||||||||||||||||