is there a reason we need to make a pex in the fir...
# development
a
is there a reason we need to make a pex in the first place right now instead of a collection of snapshots
h
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