uv Resolver is Built on PubGrub

charliermarsh · x · 2026-07-10

The author explains that uv's resolver is built on the PubGrub algorithm, which handles abstract intervals like "all versions greater than 1.0 and less than 3.0." The optimization stems from the fact that while version intervals are theoretically infinite, package indices only contain a finite number of actual releases.

Related event: uv Resolver Achieves Significant Speedup Based on PubGrub(2 posts)→

Original post →

More from Infra

Infra channel →