Hello Everyone, using pants i noticed something an...
# general
w
Hello Everyone, using pants i noticed something and found out that this seems the best place to get in touch with you and others working with pants. I noticed that
pants dependencies
and
pants dependents
behave differently and would like to know if its expected behaviour, a bug or just work in progress.
pants dependencies
respects my manual exclusions in the
BUILD
files but
pants dependents
does not. Any Ideas?
h
Hmm, sounds like possibly a bug! If it's not a lot of trouble, could you create a tiny repo that reproduces the issue?
And checking that by manual exclusions you mean use of
!
and/or
!!
in
dependencies=
?
w
Yes, I used the transitive exclusion
!!
to exclude some dependencies manually from a docker target (
docker_image(...)
) and then checked both directions with
pants --transitive dependencies
and
dependents
.
h
Gotcha. What would be really helpful is a tiny example repo on github that reproduces this, with a README that explains how to reproduce it. Then we can be sure we're all talking about the same thing, and can verify any fixes.
Thanks!