|
|
|
|
|
by js2
458 days ago
|
|
> I prefer using python interpreters installed by linux package manager. uv will defer to any python it finds in PATH as long as it satisfies your version requirements (if any): https://docs.astral.sh/uv/concepts/python-versions/ It also respects any virtual environment you've already created, so you can also do something like this: /usr/bin/python3 -m venv .venv
.venv/bin/pip install uv
.venv/bin/uv install -r requirements.txt # or
.venv/bin/uv run script ...
It's a very flexible and well thought out tool and somehow it manages to do what I think it ought to do. I rarely need to go to its documentation.> Using uv would probably save some time on dependency updates but it would require changing my workflow and CI/CD. I found it very straightforward to switch to uv. It accommodates most existing workflows. |
|