PSA: I upgraded our repo to pex 2.32.0/pip 25.0. We're seeing some nice perf gains in generate-lockfiles. Our largest resolve is 20%+ faster (a little hard to measure accurately due to caching). There are a couple of perf optimizations in the pip release as noted here:
https://pip.pypa.io/en/stable/news/#v25-0