https://pantsbuild.org/ logo
#general
Title
# general
i

incalculable-hydrogen-44003

10/15/2022, 2:40 PM
Hi guys, I'm finding pants hangs on the
Building manage.pex with...
step, but I'm not getting any logging to figure out which package is causing the issue. Is there any way to enable logging for this?
h

happy-kitchen-89482

10/16/2022, 6:33 AM
Try running with
-ldebug
(and possibly with
--no-process-cleanup
to examine the hanging process)
i

incalculable-hydrogen-44003

10/16/2022, 5:05 PM
Thanks Benjy. Unfortunately that didn't work. Needed to comment out dependencies until I found out what the issues was.
h

happy-kitchen-89482

10/16/2022, 5:37 PM
What was it?
One way to figure this out is to use
--no-process-cleanup
(or its successor,
--keep-sandboxes=always
, depending on your Pants version) and then cd to the sandbox directory and run the process manually (using
__run.sh
)
i

incalculable-hydrogen-44003

10/16/2022, 5:40 PM
For some reason, the new version of this package caused installing dependencies to never finish. But a regular pip install did work. https://pypi.org/project/sidekick-agent-python/0.0.10
h

happy-kitchen-89482

10/17/2022, 3:29 AM
I wonder if this is because we’re using an older version of pip, that is missing some performance enhancements.
Which pants version is this?
And are you using a pex lockfile?
4 Views