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

refined-addition-53644

04/20/2022, 7:54 PM
Found some weird behaviour - pants can't seem to find some sub package called
lib
, but I can list the directory. Please see the 🧵
1
The same behaviour I see when a
lib
directory is created inside
tests
folder
Copy code
./pants dependencies src/pyfleet-crc/tests/lib        
21:59:30.90 [ERROR] 1 Exception encountered:

  ResolveError: The file or directory 'src/pyfleet-crc/tests/lib' does not exist on disk in the workspace, so the address 'src/pyfleet-crc/tests/lib' cannot be resolved.
I have verified it's not added to
pants_ignore
I fixed it by changing the
lib
name to something else. I think this was happening because of the issue mentioned here https://pantsbuild.slack.com/archives/C046T6T9U/p1650553720773989?thread_ts=1649846692.708479&cid=C046T6T9U
2 Views