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

uv support #27

Open
hille721 opened this issue Oct 22, 2024 · 0 comments
Open

uv support #27

hille721 opened this issue Oct 22, 2024 · 0 comments

Comments

@hille721
Copy link

Hi,

First many thanks for this great work, we using it as part of our make setup for Ansible since almost 2 years already.

Today I tested to make it compatible to work with uv. In a first iteration I did quite simple changes: still using python -m venv to create the venv, but then just installing uv with pip in it. And for installing the dependencies I then use uv pip install ... instead of pip install.
Only with this the performance increase is massive, for an example repository the time for make venv changed from 2 mins to 12 seconds (!!!) with warm cache.
And the cool thing is that it's completely transparent for the user, he does not need to have uv installed or other requirements.
Thus imo it could be just enabled out of the box.

This leads to my question: Are you interested in uv support and if yes how? Enabling it per default or having an option like USING_UV for it?
I can then work on a PR for it.

Furthermore we could also detect if uv is already present and if yes use it for the venv creation, this would decrease the timing, but not that significant anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant