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

hundreds-father-404

08/16/2020, 4:58 PM
Related. Would you like to be able to run multiple python_binary targets in a single run? They would run sequentially
cc @polite-garden-50641
And then I think we may want to add a
./pants run --fail-early
flag
p

polite-garden-50641

08/16/2020, 5:23 PM
maybe... but again, this is more typing... we can infer that from flags being passed thru to pytest.
h

hundreds-father-404

08/16/2020, 5:24 PM
run
goal, not
test
goal
p

polite-garden-50641

08/16/2020, 5:42 PM
I don't have an opinion here. I am not using
./pants run
since it is too slow for me (https://github.com/pantsbuild/pants/issues/10513)
I just can't wait for it to build the reqs file when I want to run things and seeding stuff by using
binary
doesn't work.
h

hundreds-father-404

08/16/2020, 5:52 PM
Got it. See https://github.com/pantsbuild/pants/issues/10513#issuecomment-674556335 about how we’ve aligned it with
test
and
repl
to avoid having to re-resolve as frequently. Benjy is also going to switch on the
--python-setup-resolve-all-constraints
option in Toolchain, which will dramatically reduce the amount of resolves in general
@happy-kitchen-89482 any opinions on the top of the thread, if we should loosen the constraints on
run
?
h

happy-kitchen-89482

08/16/2020, 5:55 PM
We can, it's super non-urgent so let's not worry about it for now.
h

hundreds-father-404

08/16/2020, 5:55 PM
It’s only a 5 line change that takes 5 minutes to put together
h

happy-kitchen-89482

08/16/2020, 11:00 PM
Hmm, yeah I guess it makes sense
w

witty-crayon-22786

08/18/2020, 6:59 PM
watch out, because order would matter there
easiest not to, and loosen the constrain later if you see a usecase.
h

hundreds-father-404

08/18/2020, 6:59 PM
True. I ended up not doing it. The code change is easy; the semantics are not.