high-yak-85899
02/19/2023, 8:29 PMlist
shows this
$ ./pants list path/to/some/module.py
path/to/some/module.py:sources
Now, when I include it as a dependency by name in another target, I get an error like this
$ ./pants dependencies path/to/dependee.py
13:24:45.87 [INFO] Initializing scheduler...
13:24:46.16 [INFO] Scheduler initialized.
13:24:50.01 [ERROR] 1 Exception encountered:
ResolveError: The address path/to/some:some from the `dependencies` field of the target path/to:dependee_target does not exist.
The target name ':some' is not defined in the directory path/to/some. Did you mean one of these target names?
* :sources
It's an easy fix but surprised I have to specify when it's unambiguous.enough-analyst-54434
02/19/2023, 8:31 PMenough-analyst-54434
02/19/2023, 8:33 PMenough-analyst-54434
02/19/2023, 8:35 PMhigh-yak-85899
02/19/2023, 8:37 PMenough-analyst-54434
02/19/2023, 8:47 PMhigh-yak-85899
02/19/2023, 8:49 PMenough-analyst-54434
02/19/2023, 8:59 PM