Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented May 10, 2024

Using uv to install dependencies is quicker than pip.

On Read the Docs, it adds 1 second to install uv, and then cuts the docs build time from 28s -> 13s, overall halves the time from 28s -> 14s.

Locally, running make clean; time make venv with a warm cache:

pip: make venv 4.05s user 0.92s system 91% cpu 5.451 total
uv: make venv 0.03s user 0.19s system 119% cpu 0.179 total

make html is the same for both.

Overall, make clean html goes from 7s -> 3s.


📚 Documentation preview 📚: https://cpython-devguide--1320.org.readthedocs.build/

@hugovk hugovk merged commit 538c4e8 into python:main May 25, 2024
@hugovk hugovk deleted the uv branch May 25, 2024 14:17
@hugovk
Copy link
Member Author

hugovk commented May 25, 2024

And the same thing for the PEPs repo: python/peps#3791

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

Successfully merging this pull request may close these issues.

3 participants