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 pip takes ~8x as long as regular pip install with Python 3.13 #6303

Closed
EwoutH opened this issue Aug 21, 2024 · 3 comments
Closed

uv pip takes ~8x as long as regular pip install with Python 3.13 #6303

EwoutH opened this issue Aug 21, 2024 · 3 comments
Labels
question Asking for clarification or support

Comments

@EwoutH
Copy link

EwoutH commented Aug 21, 2024

In our CI setup, we noticed uv pip taking very long to install our package, compared to uv pip, on Pyhton 3.13. While normally uv pip is way faster.

Almost all time is in the "Prepared packages" step.

What probably matters, is that with setup-python we cache pip dependencies. But that doesn't work for uv right?

Can we either cache uv, or can something be sped up in the uv preparing packages step to speed this process up?

Edit: An uncached pip install on Python 3.13 also takes quire long, because Pandas is build from scratch.

@charliermarsh
Copy link
Member

Yeah, you can save the uv cache. I recommend something like this: https://docs.astral.sh/uv/guides/integration/github/#caching

@charliermarsh charliermarsh added the question Asking for clarification or support label Aug 21, 2024
@EwoutH
Copy link
Author

EwoutH commented Aug 21, 2024

Thanks for the docs!

@EwoutH EwoutH closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
@EwoutH
Copy link
Author

EwoutH commented Aug 21, 2024

Maybe you can enable the GitHub Discussions, in many repos it's a nice place to ask questions!

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

No branches or pull requests

2 participants