Hey there, does anyone know when Pants will support multiple lock files (see here)? This is very important to us because having a single, global lock file does not allow conflicting versions of transitive dependencies.
09/11/2021, 12:21 AM
Hey Mingshi! We've been making lots of progress on it. Pants 2.7 is stable very soon and ships "tool lockfiles", which lays the foundation.
Pants 2.8 has some of the initial implementation - see https://github.com/pantsbuild/pants/pull/12734 's PR description for the proposed UX. Feedback welcomed 🙂 We found major limitations with Poetry for the lockflie generation, so John has been working on teaching Pex to generate lockfiles via pip
The Pants work is being deprioritized temporarily while Pex work is happening so that I can focus on adding Go support, but will hopefully pick back up soon (likely next month). And as always, we're happy to help anyone land it sooner - there are definitely some tickets that could use some help
Is this blocking you?
09/11/2021, 12:24 AM
Thanks Eric! This is not blocking us currently, but I am pretty sure as we onboard more applications this requirement becomes more critical. I really look forward to the greatness of Pants 2.7+!
09/11/2021, 12:38 AM
Cool! Did you have a chance to look at the PR description in #12734 and if that will work for your team?
09/11/2021, 12:43 AM
Yes I did look at the PR. It exactly address our need!