pex-tool / pex

A tool for generating .pex (Python EXecutable) files, lock files and venvs.
https://docs.pex-tool.org/
Apache License 2.0
2.83k stars 266 forks source link

Consolidate `pex.resolver.BuildAndInstallRequest` installed_wheel chroot logic. #2556

Open jsirois opened 1 month ago

jsirois commented 1 month ago

Right now Pip installations are growing a copy of this logic and it should be consolidated. As part of this, moving from AtomicDirectory use to atomic_directory use in BuildAndInstallRequest probably makes sense to avoid burning cpu and iops unnecessarily.