flat-zoo-31952
08/04/2022, 4:09 PMpaths
is broken? It seems to be outputting []
no matter what, even for trivial dep paths like direct dependencies
sh-5.1$ ./pants dependees //tests/sorted_components.py:../testlib
//:testlib
//tests/local/components.py:../../testlib
sh-5.1$ ./pants paths --paths-from=//tests/sorted_components.py:../testlib --paths-to=//tests/local/components.py:../../testlib
[]sh-5.1$
hundreds-father-404
08/04/2022, 4:17 PMhundreds-father-404
08/04/2022, 4:35 PM[]
means "no path". Try flipping the from
and to
-- do you see something?hundreds-father-404
08/04/2022, 4:35 PM./pants paths --from=... --to=...
, i.e. leave off the paths-
witty-crayon-22786
08/04/2022, 4:57 PMdependees
is the inverse of dependencies
witty-crayon-22786
08/04/2022, 4:58 PMflat-zoo-31952
08/04/2022, 5:19 PMflat-zoo-31952
08/04/2022, 5:20 PMwitty-crayon-22786
08/04/2022, 8:13 PMdependees
is a pretty rare usage… dependents
is more common. but we’ve used it for so long that it’s stuck (so far)