Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented May 30, 2025

pip-tools are very slow. What takes it 10+ minutes to resolve all
dependencies can be done in seconds with uv. This is especially
problematic when we attempt to run update-constraints against a repo
with a huge dependency tree (like instructlab/instructlab) which may
even time out in gate because of how slow pip-compile is.

uv pip compile is, largely, a drop-in replacement for pip-compile,
so the transition is very simple.

Signed-off-by: Ihar Hrachyshka [email protected]

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been added and/or updated, if applicable.
  • Unit tests have been added and/or updated. (If this is not applicable, please provide a justification.)
  • Integration testing has been performed, if applicable

Description of this Change


This is an automatic backport of pull request #26 done by [Mergify](https://mergify.com).

pip-tools are very slow. What takes it 10+ minutes to resolve all
dependencies can be done in seconds with `uv`. This is especially
problematic when we attempt to run `update-constraints` against a repo
with a huge dependency tree (like instructlab/instructlab) which may
even time out in gate because of how slow pip-compile is.

`uv pip compile` is, largely, a drop-in replacement for `pip-compile`,
so the transition is very simple.

Signed-off-by: Ihar Hrachyshka <[email protected]>
(cherry picked from commit e53607a)
@mergify mergify bot merged commit 4e0c567 into release-v0.2 May 30, 2025
13 checks passed
@mergify mergify bot removed the one-approval label May 30, 2025
@mergify mergify bot deleted the mergify/bp/release-v0.2/pr-26 branch May 30, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants