aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

UV package manager

Open PatStLouis opened this issue 10 months ago • 4 comments

A while ago there was a move to ruff for linting/formatting purposes.

Astral (maintainers of ruff) also have a dependency manager called uv https://docs.astral.sh/uv/

It's written in rust and has a significantly better performance compared to poetry.

Wanted to discuss if this is something to consider?

PatStLouis avatar Apr 16 '25 18:04 PatStLouis

It's a good nice-to-have / quality-of-life improvement 👍 will make builds and local dev a bit faster

Should be able to use the existing pyproject.toml with minimal changes -- assuming no gotchas https://docs.astral.sh/uv/concepts/projects/dependencies/

ff137 avatar Apr 17 '25 09:04 ff137

I've taken uv for a test drive on some side projects and found it to be excellent. I'd endorse a PR to make the switch if someone is willing to put the effort in to make it happen and update workflows and docker image builds to use it.

dbluhm avatar Apr 30 '25 22:04 dbluhm

I've taken uv for a test drive on some side projects and found it to be excellent. I'd endorse a PR to make the switch if someone is willing to put the effort in to make it happen and update workflows and docker image builds to use it.

Hey @PatStLouis and @dbluhm I've been working with uv for quite some time now. It is quite fast (obviously written in rust) and makes managing dependencies, virtual environments, and the setup process very smooth. I'll migrate the codebase to use uv for dependency and project management. Can you please assign this to me?

PROWLERx15 avatar Jun 16 '25 19:06 PROWLERx15

Assigned -- go for it.

swcurran avatar Jun 16 '25 20:06 swcurran