cool-easter-32542
07/10/2024, 11:20 PMshell_command that produces
If there is an experimental_wrap_as_resources target between the shell_command that produces the binary artifact and a python_test that consumes it, the binary artifact is not put in the sandbox, breaking the python test.
If the python_test target depends directly on the shell_command, things work fine.
But I need the intermediate experimental_wrap_as_resources because otherwise pants check does not honor the dependency of the python test on the output of the shell_command.
I put a reproducer at https://github.com/eguiraud/pants-workspace-exec-testing/tree/problem-with-wrap-as-resources.
cc: @tdyas
Pants version
Pants from source, main@ae91cdf241 (latest main as of 10th of July 2024).
OS
Linux
Additional info
This problem arose as part of our effort, at https://www.proximafusion.com, to better interface pants and bazel -- effort with which @tdyas is assisting.
pantsbuild/pantscool-easter-32542
07/23/2024, 3:26 AM