refined-addition-53644
09/29/2022, 3:59 PM15:49:36.77 [WARN] Pants cannot infer owners for the following imports in the target src/package-local/tests/utils/test_nlp.py:
* tests.resources.fake (line: 5)
In this case src/package-local
has structure like. We have multiple of such local packages each with their own tests.
src/package-local
- package_local
- tests
happy-kitchen-89482
09/29/2022, 4:13 PMhappy-kitchen-89482
09/29/2022, 4:13 PM./pants roots
show?happy-kitchen-89482
09/29/2022, 4:14 PMtests.resources.fake
you’d need the parent of tests/resources/fake.py
to be a source rootrefined-addition-53644
09/29/2022, 4:15 PM./pants roots
output
pants-plugins
src/package-local
I do add all such local packages as source rootrefined-addition-53644
09/29/2022, 4:16 PMtests
is inside src/package-local
happy-kitchen-89482
09/29/2022, 4:16 PMrefined-addition-53644
09/29/2022, 4:16 PMhappy-kitchen-89482
09/29/2022, 4:17 PMhappy-kitchen-89482
09/29/2022, 4:17 PMrefined-addition-53644
09/29/2022, 4:17 PM