witty-crayon-22786
09/24/2018, 9:04 PM@memoized_property
caches on the class level, with the instance as a keyfancy-queen-20734
09/25/2018, 12:32 AMhigh-night-61226
09/25/2018, 4:53 PMcreamy-activity-5659
09/25/2018, 8:08 PMA
in a separate BUILD file from another target B
. A
depends on B
. A
is built via the --changed-parent
flag, but `B`’s /dist
artifacts aren’t available when A
is triggered, because 1) We don’t cache /dist
and 2) `B`’s distributable artifact is never built because the BUILD file is never invalidated.witty-crayon-22786
09/25/2018, 8:19 PM./pants help-advanced changed
witty-crayon-22786
09/25/2018, 8:20 PM--changed-include-dependees=transitive
is probably what you wantcreamy-activity-5659
09/25/2018, 8:28 PMcreamy-activity-5659
09/25/2018, 8:28 PMcreamy-activity-5659
09/25/2018, 8:49 PM--changed-include-dependencies
. I think I have bigger questions now like should I depend on anything directly in dist or not? Or should I be caching the entire /dist
folder. If I can force it in the opposite direction then I can force the artifacts to rebuild from the .cache
. Now I’m starting to wonder if what’s in the cache is verbatim the dist artifact 🙂 I’ll probably dig into that, but I think I can also get out of this by caching the entire /dist folder right now.witty-crayon-22786
09/25/2018, 8:54 PMwitty-crayon-22786
09/25/2018, 8:55 PMdist
.witty-crayon-22786
09/25/2018, 8:55 PMwitty-crayon-22786
09/25/2018, 8:56 PM./pants --changed... dependencies | xargs ./pants bundle
creamy-activity-5659
09/25/2018, 9:06 PMUnknown goals: apache-airflow[crypto]==1.9.0, psycopg2-binary==2.7.5, boto3==1.7.52
. If I can get past that I think it’s gold.creamy-activity-5659
09/25/2018, 9:07 PMsrc/
for now 🙂witty-crayon-22786
09/25/2018, 9:19 PMmagnificent-coat-60998
09/26/2018, 12:26 PMException caught: (<type 'exceptions.TypeError'>)
Exception message: can only concatenate list (not "NoneType") to list
The root cause seems to be this commit: https://github.com/pantsbuild/pants/commit/71467604c5d43df6000995346f245f3768441c03
The target should default to []
(we don't use any extra jvm options) but it seems the get_field_value
might be run on a wrong target here: https://github.com/pantsbuild/pants/commit/71467604c5d43df6000995346f245f3768441c03#diff-330c9a1c6b6b5df53b8e2eae2f383035R85
I get the required empty list if I change target.payload....
to binary.payload...
Is this diagnosis correct?red-balloon-89377
09/26/2018, 12:34 PMred-balloon-89377
09/26/2018, 12:37 PMmagnificent-coat-60998
09/26/2018, 12:38 PMmagnificent-coat-60998
09/26/2018, 12:39 PMbinary =
assignmentred-balloon-89377
09/26/2018, 12:39 PMred-balloon-89377
09/26/2018, 12:40 PMmagnificent-coat-60998
09/26/2018, 12:40 PMget_field_value
magnificent-coat-60998
09/26/2018, 12:40 PMmagnificent-coat-60998
09/26/2018, 12:42 PMred-balloon-89377
09/26/2018, 12:42 PMmagnificent-coat-60998
09/26/2018, 12:42 PMhigh-night-61226
09/26/2018, 5:33 PM$ ./pants --tag="something" filter 3rdparty/python:ansicolors
Exception caught: (<class 'pants.build_graph.address_lookup_error.AddressLookupError'>)
Exception message: Build graph construction failed: ResolveError "ansicolors" was not found in namespace "3rdparty/python". Did you mean one of:
:ansicolors
...
:requests
:requirements.tx
It exists in the requirements file:
ag ansicolors 3rdparty/python/requirements.txt
7:ansicolors==1.1.8
I am getting this for any existing target with filter
. Did filter change in 1.9.x?enough-analyst-54434
09/26/2018, 6:11 PM