Possibly related to above (not sure), is there a w...
# general
s
Possibly related to above (not sure), is there a way to pre-build test pex files? I have a project whose tests need to be run in serial (making them parallelizable is a sizable work in progress) so I’m using
--process-execution-local-parallelism=1
. That causes building requirements.pex, pytest.pex, etc to be done in serial and I would like to parallelize this first part then run the tests in serial
e
Nope.
🙁 1
As per the related question - definitely could be done with some custom rule work / Pants contribution.
Basically Pants is super-flexible if you're willing to write rules. We try to make it so you don't have to do that, but there are only so many contributor-hours.
So hopefully you can add yours to the pool! We're pretty helpful to new rule writers in general I think.
w
this ticket tracks this as a feature too: https://github.com/pantsbuild/pants/issues/15482
…but yea: implementing it should honestly be fairly easy: if you’re interested, i can add some pointers to the ticket
s
I’ll keep it in mind and try to get to it when I can!