Hi everyone :slightly_smiling_face: I've started ...
# general
c
Hi everyone ๐Ÿ™‚ I've started moving some projects to pants a couple of months ago and it's been great so far ๐ŸŽ‰ I'm now trying to upgrade all of them to use the new v2 engine ๐Ÿคž
โค๏ธ 3
๐ŸŽŠ 1
h
Awesome to hear! Are you mostly using Pants for Python or other languages too?
c
only python for now, we have a big monorepo with a lot of dependencies. ATM we have around 50 projects (apps and libraries) and we are creating more ๐Ÿ˜
โค๏ธ 1
h
Awesome! Speaking of dependencies, two upcoming features in 1.30 that will possibly be helpful for your project: 1) dependency cycles (aka import cycles) are now tolerated. This is a big barrier to adoption for some users 2) dependency inference, meaning that Pants will read your Python import statements to auto-populate the
dependencies
field for you. Meaning BUILD files are much smaller and easier to manage
c
nice! we have some cycle dependencies that won't be easy to get rid of now, but eventually we will. looking forward to try out 1.30 ๐Ÿ™‚
h
Even Pantsโ€™ own codebase has some cycles ๐Ÿ˜ฌ we cheat by not declaring them in the BUILD files Also, Iโ€™m thinking we will add an optional linter in 1.30 that detects cycles for you