pypa / manylinux

Python wheels that work on any linux (almost)
MIT License
1.42k stars 217 forks source link

chore: use uv instead of pip-tools #1590

Closed henryiii closed 3 months ago

henryiii commented 5 months ago

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 commented 5 months ago

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.

mayeut commented 3 months ago

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