aloof-angle-91616
11/27/2019, 8:43 PMhundreds-father-404
11/27/2019, 8:50 PMrequirements.txt
is not idealhappy-kitchen-89482
11/27/2019, 9:04 PMaloof-angle-91616
11/27/2019, 9:20 PMrequirements.txt
instead of this new constraints file?aloof-angle-91616
11/27/2019, 9:20 PMaloof-angle-91616
11/27/2019, 9:24 PMhappy-kitchen-89482
11/27/2019, 9:36 PMhappy-kitchen-89482
11/27/2019, 9:36 PMrequirements.txt
as the source from which a new lockfile can be generated.aloof-angle-91616
11/27/2019, 9:44 PMaloof-angle-91616
11/27/2019, 9:46 PMpython_binary()
target that we want to generate an ipex for must have an associated lockfile, that would mean we could avoid any need to modify pex to introduce the --dehydrated
flag, for example.aloof-angle-91616
11/27/2019, 9:48 PMaloof-angle-91616
11/27/2019, 9:49 PMaverage-vr-56795
11/28/2019, 10:43 AMtarget-specific subset of requirements.txt
(“unresolved deps I care about for this target”) and some kind of lockfile (“resolved transitive deps I will actually use for this target”)
This proposal is just that we’ll store a third, non-target-specific file (“resolved superset of deps I may use”) of which target-specific lockfiles are guaranteed to be a subset? Basically just that we’re caching the result of a global resolve to constrain our future resolves, for consistency.
Or am I mis-interpreting the proposal?average-vr-56795
11/28/2019, 10:45 AMpex
both because we’d need a per-target lockfile, and because we’d need something to actually do the fetch on bootstrap. The only thing that would change is that if you built the pex
twice in a row, clearing caches in between times, you’re more likely to get the same result, because we’re effectively caching part of the resolve in a new place.average-vr-56795
11/28/2019, 10:45 AM