Trying to prep a PR, but I'm getting this on `pant...
# development
w
Trying to prep a PR, but I'm getting this on
pants fmt
Copy code
pants.engine.process.ProcessExecutionFailure: Process 'Fetching with coursier: com.geirsson:metaconfig-core_2.13:0.9.15' failed with exit code 1.
stdout:

stderr:
+ coursier_exe=__coursier/./cs-x86_64-apple-darwin
+ shift
+ json_output_file=coursier_report.json
+ shift
++ pwd
+ working_dir=/private/var/folders/dy/q08y_dts5vd71rm99t4gc9lr0000gp/T/pants-sandbox-SsaIvl
+ __coursier/./cs-x86_64-apple-darwin fetch -r=<https://maven-central.storage-download.googleapis.com/maven2> -r=<https://repo1.maven.org/maven2> --no-default --json-output-file=coursier_report.json --intransitive com.geirsson:metaconfig-core_2.13:0.9.15
__coursier/coursier_fetch_wrapper_script.sh: line 9: __coursier/./cs-x86_64-apple-darwin: Bad CPU type in executable
pants fmt src/python/pants/goal/completion.py
I think the part I really have a hard time with, since I seem to run into these problems a bunch - is why formattinga a single python file invokes
scala_fmt
and whatever else that requires accessing the JVM?
h
I know we need to bootstrap some JVM tools in order to parse .java/.scala files for dep inference, but I don't know why we'd need
scala_fmt
Are you certain?
w
Certain? Not even a little. But, it seems to be a common thing that JVM tools come into play spuriously when I’m working on Pants.
h
Yes, Go too. But AFAIK that is because we have to bootstrap enough of those tools to do dep inference
We have an open ticket to fix this