Hey folks, I just set up pants 2.21 on my company'...
# general
a
Hey folks, I just set up pants 2.21 on my company's existing monorepo this weekend, and it has been awesome! Really loving the speedups and developer experience. I'm now polishing the last remaining workflows from the old build toolchain. One issue I'm running into is that I was using
pytest
fixtures to perform some setup/teardown of test users / test tenants in my backend system during integration tests, and originally banked on being able to single ctrl-c
pytest
to stop tests but still finish the fixture teardown. It seems like with pants -> pytest, interrupting the
pants --tag="integ" test ::
target is just instantly killing pytest. Is there any way I can preserve the teardown on interrupt?