flat-artist-9814
07/15/2024, 9:52 AMpants generate-lockfiles
? I ran it after adding a new 3rd party to our company's repo and it is now taking forever.
I'm new to pants so I'm not sure if it's normal or not (And I believe this should not be normal behavior).
Or is there any common mistakes that can result in long lock file generation?famous-kite-46295
07/15/2024, 6:30 PMuv pip compile
to check if the requirements are resolvable and iterate with that … then, once I know it’s solvable, I run pants generate-lockfiles
.
Not sure this helps in your case but works well for me.famous-kite-46295
07/15/2024, 6:31 PMpants generate-lockfiles
faster in the good case but I avoid running it on the bad case (which can take way longer).flat-artist-9814
07/16/2024, 5:12 AMuv pip compile
result