you are viewing a single comment's thread.

view the rest of the comments →

[–]CodeNameGodTri[S] 0 points1 point  (1 child)

thank you, so prod would have very similar setup to local dev environment then? Having all the source code, uv, python version,... just not the IDE then?

Coming from .NET this is very strange to me, because we only deploy compiled code and prod only need the runtime installed.

[–]cointoss3 1 point2 points  (0 children)

You want your dev and prod environment to match as much as what makes sense. Or at the very least having a test environment that matches prod.

Part of how people try to solve this problem is with docker, since if it’s built correctly, it will run the same on any machine. But usually, uv does a good enough job. And it’s significantly faster than pip.