Python generate-lockfiles not completing #18381
-
Hey everyone, I'm moving my organization's python backends to a monorepo architecture and felt that Pants was the best build tool for our use case. I'm working through reorganizing our repository and setting up Pants, but I'm stuck at the For additional context, our repository currently uses poetry for dependency management and I have the following pants.toml file:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 25 replies
-
the likely culprit is the open-ended IC |
Beta Was this translation helpful? Give feedback.
-
Hi! One thing that stands out to me is the interpreter constraints. |
Beta Was this translation helpful? Give feedback.
Hi! One thing that stands out to me is the interpreter constraints.
interpreter_constraints = [">=3.10.*"]
is open-ended, which means Pants is trying to generate a lockfile compatible with 3.10, 3.11 and the 3.12 alphas. I recommend locking down to==3.10.*
and seeing if that helps.