Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt UV for package management #225

Open
salty-ivy opened this issue Oct 29, 2024 · 3 comments
Open

Adopt UV for package management #225

salty-ivy opened this issue Oct 29, 2024 · 3 comments
Labels
backend enhancement New feature or request

Comments

@salty-ivy
Copy link
Collaborator

salty-ivy commented Oct 29, 2024

Context

Based on the conversation #209 (comment)

UV is a package manager by astral same org that has shipped Ruff.

https://astral.sh/blog/uv

UV is quite fast and written in rust, compared to other pkg managers UV is quite fast and light weight ( poetry and pip-compile )

Current scenario

Most of the orgs and libraries have already made their switch to Ruff likewise they are gradually moving towards UV
we should also make this call as soon as possible.

@salty-ivy
Copy link
Collaborator Author

thoughts are welcome.
CC: @DevilsAutumn

@salty-ivy salty-ivy self-assigned this Oct 29, 2024
@salty-ivy salty-ivy added the enhancement New feature or request label Oct 29, 2024
@salty-ivy salty-ivy removed their assignment Oct 29, 2024
@DevilsAutumn
Copy link
Member

I remember having discussion about uv at PyCon India 2024. It looks like a great update to python ecosystem. but since its quite new, do you think it would be compatible with our large python package dependencies. Some of them are really old as well. Also, will it work with docker(which uses linux image) without breaking ?
Maybe you can provide some project references who have already adopted to uv so that we are more convinced for this change?

@salty-ivy
Copy link
Collaborator Author

Maybe you can provide some project references who have already adopted to uv so that we are more convinced for this change?

FastAPI have switched to it recently.

will it work with docker(which uses linux image) without breaking ?

Mostly yes and also with linux subsystems as well. thought we should conduct a test flow once just to be safe.

I will open a new PR with adoption and docker related changes and trial and we can merge that in a separate sudo main branch to tests its compatibility.

That being said UV seems quite stable and promising however I will document its compatibility with old packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants