Elektrine lite

← Feed

@tastapod@mas.to

Post #2724562

2026-05-01 12:44 UTC

@al3x@hachyderm.io tl;dr: - use uv for everything: uv init, migrate existing e.g. pipfile, poetry, whatever into a uv-driven project.toml (uv helps with this) as a one-time exercise - don't forget to `source bin/activate` your venv otherwise you are using the wrong python (true for any venv) - use uv for deps (uv add x rather than pip install x) if you want it to also end up in your project.toml - use uv-native commands (uvx over pipx, uv pip blah over pip blah, etc.). These quickly become muscle memory

Replies (1)

  • @al3x@hachyderm.io 2026-05-01 13:01

    @tastapod@mas.to pretty much what you write is what I sort of expected. * uv init in an existing project folder does almost nothing of value. Even if there are sources in the folder it keep creating main.py. Yupee!!! * there's no venv being created It seems there's a gap somewhere.

    Open ##2724563