https://pantsbuild.org/ logo
a

aloof-angle-91616

09/21/2020, 2:44 PM
try this page: https://www.pantsbuild.org/docs/source-roots. i believe what's happening is that if
ns/
is a top-level directory, then it's not within a nested directory such as
src/python
. pants uses "source root patterns" to infer what the root package is. there are ways to avoid having to modify your directory structure though