Maybe a better question, is there a way that I can...
# general
h
Maybe a better question, is there a way that I can run a python unit test that has access to the java backend when executed?
I'm using the Python api for Apache Flink which requires Java. I'd like to avoid having steps to set up java on everyone's machine. Curious if there's a way to hook in the java backend so that the jars packaged along with the flink system work happily.
šŸ‘€ 1
c
(those šŸ‘€ mean Iā€™m interested in the answer to this too.. not directly looking into it.. šŸ˜¬ )
h
I wonder if it's as "simple" as modifying the python test execution to add the jdk tooling and then set
JAVA_HOME
to where it's installed
I actually have a few uses for this kind of capability (having a tool available in the environment a test is run) now. Might be cool to brainstorm on how to generalize it.
This seems like the kind of thing the new environments stuff could enable