pants package failing due to no roots even where they exist #21713
-
When I run
But if I run
as expected based on this setting:
Here is
and the corresponding
What am I missing? This is with Pants 2.23, Python 3.12. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Ah, yes, the issue is that there is no source root for those resources directly in |
Beta Was this translation helpful? Give feedback.
-
(resources are technically source files, in that they are loaded by a relpath relative to a package) |
Beta Was this translation helpful? Give feedback.
Ah, yes, the issue is that there is no source root for those resources directly in
serenity.analytics/
that are not under one of those lower source roots. You can fix this by addingserenity.analytics/
itself as a source root.