Need some help with check goal, with Javac with de...
# general
p
Need some help with check goal, with Javac with depends on a proto goal. 🫶 Then it complains about a python requirement within jvm context. I am pretty confused what is going on here
Copy code
pants check --only=javac  src/java:: src/jvm::
14:37:46.29 [ERROR] 1 Exception encountered:

Engine traceback:
  in `check` goal

ClasspathSourceMissing: No JVM classpath providers (from: CompileJavaSourceRequest, CoursierFetchRequest, DeployJarClasspathEntryRequest, JvmResourcesRequest) were compatible with the combination of inputs:
  * 3rdparty/python:delta-spark#protobuf	(python_requirement)
Where my proto build file is like
Copy code
protobuf==3.20.1
what does it mean and why python build mentions JVM?
h
Hmm, is the python protobuf backend enabled in this repo?
p
Yes
h
So this is a bad interaction between the two protobuf backends, I guess during dep inference (when Pants looks at the entire repo)
Can you create a small repo that reproduces this? We should fix it
p
Sure let me find out how to create a smaller reproducible code :)
Here is the smaller repo reflecting my observation - https://github.com/leozc/test_pants_proto/blob/main/README.md
h
I reproduce locally with that repo, thanks
will see what's what
❤️ 1
p
Thank you!