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

chore(python): Use uv for make requirements #14618

Merged
merged 2 commits into from
Feb 21, 2024
Merged

chore(python): Use uv for make requirements #14618

merged 2 commits into from
Feb 21, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Feb 21, 2024

https://github.com/astral-sh/uv

It's definitely a lot faster - no real reason not to use it.

  • Using pip: ~30 seconds
  • Using uv: ~3 seconds

The --prefer-binary syntax is not supported (yet?): astral-sh/uv#1794
...but I don't think we really need to include this anyway.

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Feb 21, 2024
@stinodego stinodego marked this pull request as ready for review February 21, 2024 05:15
@alexander-beedie
Copy link
Collaborator

alexander-beedie commented Feb 21, 2024

Interesting! (And looks like a really painless transition too - nice!)
I was planning to convert something at work to use this today, to see how it runs "in the real world" 😎

@stinodego stinodego merged commit 5e53191 into main Feb 21, 2024
13 checks passed
@stinodego stinodego deleted the use-uv branch February 21, 2024 05:50
@c-peters c-peters added the accepted Ready for implementation label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement python Related to Python Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants