witty-crayon-22786
06/16/2020, 6:03 PMdependencies
issuewitty-crayon-22786
06/16/2020, 6:03 PMcuddly-window-48195
06/16/2020, 6:30 PMwitty-crayon-22786
06/16/2020, 6:31 PMwitty-crayon-22786
06/16/2020, 6:31 PM./pants dependencies $target
cuddly-window-48195
06/16/2020, 6:31 PMUnknown goals: dependencies
Use `./pants goals` to list goals.
Use `./pants help` to get help.
cuddly-window-48195
06/16/2020, 6:31 PMpants goals
witty-crayon-22786
06/16/2020, 6:32 PMwitty-crayon-22786
06/16/2020, 6:32 PMbackend_packages
and plugins
?cuddly-window-48195
06/16/2020, 6:32 PM; Set to avoid having to depend on Java
; See: <https://github.com/pantsbuild/pants/issues/4782>
; See: <https://github.com/pantsbuild/pants/issues/3815>
backend_packages: [
# Pants built-ins:
'pants.backend.codegen.thrift.python',
'pants.backend.graph_info',
'pants.backend.python',
]
cuddly-window-48195
06/16/2020, 6:33 PMplugins: [
'pantsbuild.pants.contrib.awslambda_python==%(pants_version)s',
'pantsbuild.pants.contrib.node==%(pants_version)s',
'pantsbuild.pants.contrib.go==%(pants_version)s',
]
cuddly-window-48195
06/16/2020, 6:33 PMcuddly-window-48195
06/16/2020, 6:34 PMwitty-crayon-22786
06/16/2020, 6:35 PM1.25.x
? i think that it’s possible that that goal is now in v2, so you’d want to add 'pants.backend.graph_info'
to a backend_packages2
option? cc @hundreds-father-404cuddly-window-48195
06/16/2020, 6:35 PMhundreds-father-404
06/16/2020, 6:35 PMpants.backend.project_info
to that listwitty-crayon-22786
06/16/2020, 6:36 PMwitty-crayon-22786
06/16/2020, 6:36 PMcuddly-window-48195
06/16/2020, 6:36 PMwitty-crayon-22786
06/16/2020, 6:36 PMhundreds-father-404
06/16/2020, 6:36 PMproject_info
and graph_info
. We consolidated them with v2 and also made it so that you never can deactivate the backendcuddly-window-48195
06/16/2020, 6:37 PMhundreds-father-404
06/16/2020, 6:37 PMcuddly-window-48195
06/16/2020, 6:38 PMcuddly-window-48195
06/16/2020, 6:39 PMcuddly-window-48195
06/16/2020, 6:40 PMhundreds-father-404
06/16/2020, 6:59 PMregister.py
file, and it brings some new functionality like new goals, new linters, new target types, etc.
Every plugin has a backend, which is almost always activated by default. So when you have a plugin, you don’t usually need to also specify it in backend_packages
.
Pants has a couple of backends that come built in, but are not activated by default. For example, pants.backend.python.lint.black
. So, these are indeed sort of like first-party plugins, in spirt at least.happy-kitchen-89482
06/16/2020, 8:00 PM