Hello, I have an issue I can't really pinpoint yet...
# general
r
Hello, I have an issue I can't really pinpoint yet. If I add a new py file in my project and repackage my lambda zip file, the file isn't there. I can see the dependency by doing a
pants dependencies --transitive the lambda_target
but
pants package
doesn't bring it in. If I
rm -r dist/
,
pkill pantsd
and repackage, the file is finally added. Do I miss something? I'm not sure how to diagnose that kind of issue.
😮 1
w
hm, that is definitely surprising.
you’re not missing anything: that sounds like a definite bug, so if you’re able to reproduce it we’d really like an issue reported against Pants for it
it’s particularly strange the
./pants dependencies --transitive
showed the dep, but that
package
didn’t pick it up… so that might be a key part of a repro for this.
r
yes, it's difficult to reproduce as when it's fixed, I don't really have a way to spot that again. So, what would be interesting to do when it happens? I'm guessing some commands with
-ldebug.
pants dependencies --transitive
and
pants package
?
w
Just the steps and target definitions to reproduce would be amazing... if someone else isn't able to reproduce, then that's when the log will come into play