cool-easter-32542
11/14/2023, 11:47 AMpants dependents :: doesn't produce any output:
$ pants dependents :: ; echo $?
0
This applies to multiple repos I've tried as well as the Pants repo itself.
Running
$ pants list :: | xargs pants dependents
does produce the list of targets and so does pants dependencies :: so it must be something about asking "who depends on everything?" that Pants is confused about.
Pants version
2.16.0 / 2.17.0 / 2.19.0a0
OS
Both
Additional info
It's very unlikely that someone would be interested to execute this query, but it feels wrong to not emit anything as a result as if no one depends on everything. We should either fail loud or list dependents of every target expanded from ::.
pantsbuild/pantscool-easter-32542
11/25/2023, 10:35 AMcool-easter-32542
11/26/2023, 12:36 AM