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: use uv instead of pip-tools #1590

Merged
merged 1 commit into from May 10, 2024
Merged

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Mar 22, 2024

This moves the lockfile generation from pip-tools to uv. The update_python_dependencies step now runs in under 2 seconds vs. ~40 seconds, and doesn't require all supported versions of Python to be installed (not sure about this, investigating). The update_python_tools job now takes under 2 seconds vs. 17 seconds, and can be run from any Python version. (I'm also using NOX_DEFAULT_VENV_BACKEND=uv locally for the uv job timings)

This stops updating the lock file for 3.6, as nothing should be updating for it anymore.

@henryiii henryiii marked this pull request as draft March 22, 2024 01:00
@henryiii henryiii marked this pull request as ready for review March 22, 2024 05:44
@henryiii
Copy link
Contributor Author

I was a little worried about the warning that 3.11 was being used instead of 3.7 since it wasn't installed, but it's resolving for 3.7, so I guess it's harmless.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@mayeut mayeut merged commit 7415d48 into pypa:main May 10, 2024
9 of 10 checks passed
@mayeut
Copy link
Member

mayeut commented May 10, 2024

took me quite a while to find time to get to this.
thanks Henry

@henryiii henryiii deleted the henryiii/chore/uv branch May 10, 2024 06:42
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.

None yet

2 participants