<#21156 Binary artifact from `shell_command` wrapp...
# github-notifications
c
#21156 Binary artifact from `shell_command` wrapped by `experimental_wrap_as_resources` is not copied into the sandbox of a `python_test` Issue created by eguiraud-pf Describe the bug I have a
shell_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/pants