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

Accelerate build times by using uv instead of pip? #6109

Open
cclauss opened this issue Mar 11, 2024 · 2 comments
Open

Accelerate build times by using uv instead of pip? #6109

cclauss opened this issue Mar 11, 2024 · 2 comments

Comments

@cclauss
Copy link
Contributor

cclauss commented Mar 11, 2024

There is a lot of discussion about the Rust-based pip-replacement named uv.

Would it be of interest to accelerate pipenv build times by using uv instead of pip?

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

I'm always frustrated when pipenv builds take several minutes.

Describe the solution you'd like

pipenv builds take seconds instead of minutes.

Describe alternatives you've considered

Switch to non-pipenv solutions for our builds.

@matteius
Copy link
Member

I am stuck on the philosophical questions of: would we need to rebrand to uvenv? maybe it should be a whole new project -- but is it realistically much faster when most things are network activity of getting the wheels, and then they still need to be installed? In all seriousness though, it might be worth me taking a deeper look, but we have to admit that pipenv is a big bear hug around pip and so there is a lot to detangle there if there were a motivation to wrap a different package library.

@cclauss
Copy link
Contributor Author

cclauss commented Mar 21, 2024

The caching in uv is super impressive. The first build is lightning fast but the second is astonishing especially on a huge set of deps.

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

2 participants