Hi guys, I'm finding pants hangs on the `Building ...
# general
i
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
Try running with
-ldebug
(and possibly with
--no-process-cleanup
to examine the hanging process)
i
Thanks Benjy. Unfortunately that didn't work. Needed to comment out dependencies until I found out what the issues was.
h
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
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
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?