I believe the following is more of a pex question ...
# general
b
I believe the following is more of a pex question than a pants question. We compile pex deps per https://www.pantsbuild.org/blog/2022/08/02/optimizing-python-docker-deploys-using-pants. However, we end up pretty frequently with
Encountered collision populating /usr/bin/app from PEX at /pex:
errors. These errors always deal with multiple packages with same-named scripts. Any ideas on how to ignore this error or tell
pex_binary
s to not include scripts and binaries?
1
1
Solved with the
--collisions-ok
flag for pex.