https://pantsbuild.org/ logo
#general
Title
# general
c

calm-alarm-89082

06/13/2020, 8:08 PM
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

hundreds-father-404

06/13/2020, 8:45 PM
Awesome to hear! Are you mostly using Pants for Python or other languages too?
c

calm-alarm-89082

06/14/2020, 12:43 AM
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

hundreds-father-404

06/14/2020, 1:11 AM
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

calm-alarm-89082

06/14/2020, 1:39 AM
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

hundreds-father-404

06/14/2020, 1:55 AM
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