bitter-ability-32190
06/02/2022, 12:43 AMambitious-actor-36781
06/02/2022, 1:03 AMbitter-ability-32190
06/02/2022, 1:07 AMquiet-evening-25363
06/02/2022, 1:52 AMmust have 1 file, but it had 0 files
error on one of these square bracket files, but I can't seem to find a way around it.
I did try adding a pants_ignore rule to pants.toml, but it did not make a difference. I could not figure out the correct way to escape the brackets, so I am using *, which you'll see in my BUILD file.
My assumption is that it's the square brackets messing things up, but would appreciate any help/thoughts you might have!enough-analyst-54434
06/02/2022, 4:55 AMlibjava.so
linked through aid of LD_LIBRARY_PATH
or the like? If so you'll need to tell Pants to allow that environment variable inside Pants executed subprocesses: https://www.pantsbuild.org/docs/reference-subprocess-environment#advanced-optionshappy-kitchen-89482
06/02/2022, 10:50 AMmysterious-waiter-14207
06/02/2022, 1:25 PMrhythmic-morning-87313
06/02/2022, 1:28 PM--find-links
option?
The reason is to install a custom built grpcio
wheel on M1 Macs, because Google is distributing a x86-64 wheel file mislabeled as universal2 and this is breaking all gRPC-dependent codes in M1 Macs.rhythmic-morning-87313
06/02/2022, 5:08 PM--changed-since
gives me a new error. How do I fix this? The mentioned files are intentionally pants-ignored.hundreds-father-404
06/02/2022, 5:09 PMrhythmic-morning-87313
06/02/2022, 5:09 PMhundreds-father-404
06/02/2022, 5:09 PM--changed-dependees
?rhythmic-morning-87313
06/02/2022, 5:09 PMhundreds-father-404
06/02/2022, 5:09 PMhundreds-father-404
06/02/2022, 5:09 PMPANTS_SHA
to verify things are fixed would be greathundreds-father-404
06/02/2022, 5:10 PMThe mentioned files are intentionally pants-ignored.Excellent! That is precisely the edge case we fixed. Thanks for the report
brainy-solstice-27042
06/02/2022, 6:39 PMLD_LIBRARY_PATH
and JAVA_HOME
into the pants command, and that ran a bit further until I had to create some symbolic links from the openjdk path that the .so files are in to the python3.6/site-packages directory. Is there a good way to get pants to look for anything java in a different place? Right now what I have fails because the symbolic links exists, but I don't think python/pants have access to all of the java files needed to run the JVMbitter-ability-32190
06/02/2022, 8:34 PMtailor
a target type? Namely pex_binary
hundreds-father-404
06/02/2022, 8:36 PMbitter-ability-32190
06/02/2022, 8:37 PMbitter-ability-32190
06/02/2022, 8:37 PMpex_binary
(I'm using my run
a py file directly plugin, so pex binaries are mostly moot)hundreds-father-404
06/02/2022, 8:38 PMbitter-ability-32190
06/02/2022, 8:39 PMbitter-ability-32190
06/02/2022, 8:45 PMbitter-ability-32190
06/02/2022, 8:45 PMbitter-ability-32190
06/02/2022, 8:45 PMbusy-vase-39202
06/02/2022, 8:59 PMbitter-ability-32190
06/02/2022, 9:00 PMbusy-vase-39202
06/02/2022, 9:00 PMrapid-bird-79300
06/02/2022, 9:35 PMAddresses
from PathGlobs
or DigestContents
?