cool-easter-32542
08/29/2023, 4:05 PMWrapSourceInputsField is a SpecialCasedDependencies, we don't always consume the dependencies of the input.
As an example:
resource(name="foo", source="foo")
file(name="bar", source="bar", dependencies=[":foo"])
experimental_wrap_as_resources(name="baz", input=[":bar"])
# This test won't have `foo` in the sandbox, even though `pants paths --from=:test --to=:foo` yields a path
python_test(name="test", source="my_test.py", dependencies=[":baz"])
Pants version
2.16.x
pantsbuild/pants