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

[feature] Support for uv as a package manager for Python #1768

Open
rhuanbarreto opened this issue Dec 30, 2024 · 2 comments
Open

[feature] Support for uv as a package manager for Python #1768

rhuanbarreto opened this issue Dec 30, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@rhuanbarreto
Copy link

Is your feature request related to a problem? Please describe.

moon 1.30 came with python support with pip venv's. uv is for Python what Bun and PnPM is for JS/TS. It's a super fast package manager that blows your mind on how fast the package installation is. PIP by itself doesn't support "workspaces" or a monorepo style repo. uv support by default.

Describe the solution you'd like

I'm still evaluating python support in moon overall, but my ultimate goal as developer experience is to speed up developer onboarding by using uv.

@rhuanbarreto rhuanbarreto added the enhancement New feature or request label Dec 30, 2024
@chadrik
Copy link
Contributor

chadrik commented Jan 3, 2025

I'm interested in this as well, and I may be willing to take this on as a side project to learn some rust.

Some interesting possibilities:

  • placing uv's toolset on the PATH provides access to uv's tool runner uvx, which makes it very easy to run tools like linters and formatters (ruff, mypy)
  • uv has a concept of workspaces, which are inspired by cargo, and would work well with moon sync for auto-populating project dependsOn values.
  • uv workspaces also work well with creating a single venv for your repo

@milesj
Copy link
Collaborator

milesj commented Jan 4, 2025

I think before we can add it to moon, we should create a proto wasm plugin for it: https://github.com/moonrepo/tools

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

No branches or pull requests

3 participants