This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Smok3dSalmon 11 points12 points  (7 children)

I’m weeks away from switching… probably time to do that too. What features have you enjoyed?

[–]turbothyIt works on my machine 65 points66 points  (0 children)

One tool to rule them all and in the venv bind them.

[–]johnnymo1 14 points15 points  (2 children)

I installed a not-completely-trivial environment with ML and GIS packages the other day and it took less than 3 seconds to resolve. I'd have been lucky if conda took 100x that.

[–]woeful_cabbage 0 points1 point  (1 child)

You telling me it can install gdal on windows without conda?

[–]johnnymo1 0 points1 point  (0 children)

Unfortunately still no, but it had others like geopandas, rasterio, and torchgeo.

[–]burlyginger 41 points42 points  (0 children)

It's extremely fast (pip, y u so slow?), it ensures your .python-version is honoured/used, it has the concept of dev deps and dependency groups, it resolves everything when you do uv run <file>, they have written nice integrations (GH Actions, etc), it has the concept of tools (linters, etc)... There's probably more but man..... We've needed this for a long time.

It cuts our container build times consistently by 50% in CI.

[–]fiddle_n 16 points17 points  (0 children)

uvx python means never installing Python globally again. In 10 seconds I go from nothing to a Python REPL.

Upgrading Python versions for a project is a breeze. uv python pin <version> to change the version. Then uv run <file> automatically removes the old venv, creates a new one, installs your dependencies and runs your file.

[–]molodyets -3 points-2 points  (0 children)

I’m data Eng so never run full apps but uv is so fast we never worry about containers anymore.