How does pants compute the cross architecture lock...
# general
p
How does pants compute the cross architecture lock file? Can someone point me to where in the code base that happens. Basically, for some other parts of my life I’m still in bazel and am looking to utilize pants’ lock file to do some things.
g
It all happens in pex, and a lot of that is in turn delegated to pip.
b
The pex3 cli (eg
pip install pex
outside of pants to get it) offers various ways to manipulate them, although you’ll have to strip off pants’ invalid-JSON comment header first