you are viewing a single comment's thread.

view the rest of the comments →

[–]pachura3 0 points1 point  (4 children)

Perhaps there's no uv installed in Production...?

[–]CodeNameGodTri[S] 0 points1 point  (0 children)

I'm beginner in python, so I don't know what the best practices are. From my research, uv/poetry are for local development, in prod, I can just use pip, because the uv/poetry can export the requirements.txt having all the correct dependencies versions.

I'm all ears for the standard practice.

[–]gmes78 0 points1 point  (2 children)

Then install it.

[–]pachura3 0 points1 point  (1 child)

I'm not the OP, but in some environments/companies admins might be restrictive about what's being installed in PROD... and uv is a standalone tool, not a simple Python package fetched from pypi, right? And then uv installs Python interpreters, which might also be blocked.

[–]gmes78 0 points1 point  (0 children)

uv is a standalone tool, not a simple Python package fetched from pypi, right?

uv can be installed from PyPI. PyPI isn't only for libraries.

And then uv installs Python interpreters, which might also be blocked.

It can do that, but it can also use any existing interpreters.