cool-easter-32542
05/09/2024, 8:35 PMpants run deploy/deploy.py
Since these are CI scripts, they often need answers to questions about the code in the repo. Fortunately, Pants has helpful introspection features, and so these scripts often invoke Pants' introspection commands. Now, you effectively have Pants invoking Pants! And of course Pants only likes one instance of Pants running at any given time, though we can set concurrent to True to work around that.
Does anything about this pattern seem weird to you? E.g. would it be better to create Python packages for these CI tools, build them, and then invoke them from the dist folder? Or is the pattern that we are following perfectly normal?
pantsbuild/pants