https://pantsbuild.org/ logo
#development
Title
# development
a

aloof-angle-91616

05/11/2019, 2:40 AM
is there a reason we need to make a pex in the first place right now instead of a collection of snapshots
h

hundreds-father-404

05/11/2019, 2:46 AM
I’m not sure. The current flow from https://github.com/pantsbuild/pants/pull/7696/files#diff-04a0048c70898e46a42c73225c47b906 is 1) download Pex and make it a snapshot 2) Resolve all requirements, then create a Pex with the 3rd party requirements + Pytest. I think we do this for the benefit of caching 3) Resolve the sources, including applying their source roots. 4) Inject
__init__.py
files, returning an
ExecuteProcessResult
5) Run the requirements Pex with all the merged input files