aloof-angle-91616
11/27/2019, 9:47 AMhappy-kitchen-89482
11/27/2019, 8:20 PMhappy-kitchen-89482
11/27/2019, 8:20 PMhappy-kitchen-89482
11/27/2019, 8:20 PMaloof-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 AMearly-needle-54791
12/02/2019, 6:28 PMhundreds-breakfast-49010
12/02/2019, 6:37 PMaloof-angle-91616
12/04/2019, 3:38 PMhundreds-breakfast-49010
12/04/2019, 10:30 PMdamp-quill-59187
12/04/2019, 11:38 PM./pants lint-v2 <target>
on 1.23.0rc0
and ran into an error:
ERROR: Not a registered union type: <class 'pants.engine.rules.TargetWithSources'>Which led me here: https://github.com/pantsbuild/pants/pull/8490. And I figured I was heading deeper down the rabbit hole. So question is, are v2 goals usable outside of pants development itself? and if so what's the uplift of bringing them into our project
hundreds-breakfast-49010
12/04/2019, 11:56 PMpants_version
global option be configured to fetch the latest version of pants/master ?average-vr-56795
12/05/2019, 2:53 PMself.context.options.positional_args
rather than [target.address.reference() for target in self.context.target_roots()]
or similar?hundreds-breakfast-49010
12/06/2019, 2:00 AMwrite_stdout
and print_stdout
methods on Console
(and their analogous _stderr
variants) into a single method?hundreds-breakfast-49010
12/06/2019, 2:00 AMaloof-angle-91616
12/06/2019, 7:13 AM--workunit-output-redirections
arg in this PR which tells pants how to redirect output sent to matching workunits, and i'd love for any pants user to weigh in on this proposed dict option interface: https://github.com/pantsbuild/pants/pull/8765dry-policeman-7927
12/06/2019, 10:26 AM./pants --v2 --no-v1 test tests/python/pants_test/bin:integration