high-magician-46188
03/29/2023, 9:09 AMopenjdk 11
)refined-addition-53644
03/29/2023, 9:23 AMadhoc_tool
https://github.com/pantsbuild/pants/blob/a805788031b94477bf855b8e5a11ea7b03f894c1/docs/markdown/Ad-Hoc%20Tools/adhoc-tool.md#L4high-magician-46188
03/29/2023, 9:43 AMrefined-addition-53644
03/29/2023, 9:47 AMbitter-ability-32190
03/29/2023, 11:52 AMhigh-magician-46188
03/29/2023, 12:06 PMbitter-ability-32190
03/29/2023, 1:32 PMhigh-magician-46188
03/29/2023, 2:19 PMbitter-ability-32190
03/29/2023, 2:19 PMhappy-kitchen-89482
03/29/2023, 5:06 PMancient-vegetable-10556
03/29/2023, 5:06 PMhappy-kitchen-89482
03/29/2023, 5:08 PMancient-vegetable-10556
03/29/2023, 5:10 PMexperimental_test_shell_command
that executes the pytest
runner and the relevant JVM dependencies as a runnable_dependency
, but it’s not a workflow I have an example of off the top of my head, and it’s likely to be exceeeeeeeeeedingly awkward.high-magician-46188
03/29/2023, 5:35 PMjvm
target that the python_tests
and/or python_sources
could depend on and thus to have a JVM available in the relevant contexts (testing, maybe somewhere else?).
Any leads on that? (or maybe save me some time by telling me it's not such a great path to go through? 😛)ancient-vegetable-10556
03/29/2023, 5:42 PMrunnable_dependencies
, in adhoc_tool
and shell_command
, but it’s limited to working with those targets at the moment. We need to work on a more systematic way to add runnable_dependencies
to rely onbitter-ability-32190
03/29/2023, 5:44 PMpyspark
needs to find Java. Meaning the target that represents "Java" should carry not just the files on disk, but an env var (JAVA_HOME
) associated. I have other (non-Java) use-cases for having the output something also carry env vars for similar reasons.
So something we need to figure out is how to make a target not just a digest, but a digest and env vars 😅ancient-vegetable-10556
03/29/2023, 5:45 PMrunnable_dependencies
🙂bitter-ability-32190
03/29/2023, 5:45 PMancient-vegetable-10556
03/29/2023, 5:46 PM