https://pantsbuild.org/ logo
s

sparse-pharmacist-76603

05/26/2022, 4:58 AM
Hi guys, How to debug hanging "generate lockfile" operation?
c

curved-television-6568

05/26/2022, 6:25 AM
In case it is pip that takes a long time to resolve your dists, try running pip with your requirements directly may give you helpful output..
s

sparse-pharmacist-76603

05/26/2022, 8:50 AM
I am using multiple pyproject.toml files for different subprojects, when locking one by one with poetry all are working fine but I guess when pants tryes to combine and resolve there is issu
c

curved-television-6568

05/26/2022, 9:01 AM
OK, not sure what that could be, then. The experts on this will likely be able to provide better feedback to you when they get online later today.
r

refined-addition-53644

05/26/2022, 9:29 AM
What do you mean by combine? Using just a single resolve for all of them?
s

sparse-pharmacist-76603

05/26/2022, 9:39 AM
Yes, singe default reslve
r

refined-addition-53644

05/26/2022, 9:46 AM
It doesn't complain if you have common dependencies e.g.
pandas
in two different
pyproject.toml
?
s

sparse-pharmacist-76603

05/26/2022, 11:04 AM
No it does not complain
I managed to find the issue with the dump brute force approch by disabling different groups of dependencies
🙌 1
Thanks for the support
👍 1
c

curved-television-6568

05/26/2022, 1:27 PM
Thanks for jumping in @refined-addition-53644 🙏
👍 1
h

happy-kitchen-89482

05/26/2022, 1:39 PM
Which version of Pants is this? And are you using poetry lockfiles or pex lockfiles?
3 Views