Describe the bug
I could experience inconsistency when using parametrize in a target with explicit dependencies when specifying, for instance, multiple resolves in a resolve field. Pants correctly applies the @resolve= prefix to all the explicit dependencies, except when the address is a transitive exclusion (!!). In that case, it fails and asks to explicitly declare the resolve in the addresses.
Describe the bug
I could experience inconsistency when using
parametrize
in a target with explicit dependencies when specifying, for instance, multiple resolves in aresolve
field. Pants correctly applies the@resolve=
prefix to all the explicit dependencies, except when the address is a transitive exclusion (!!
). In that case, it fails and asks to explicitly declare the resolve in the addresses.Pants version
2.22.0
OS
MacOS
Additional info
For everyone's convenience, I created a small repo to verify such issues: https://github.com/pasqualesalza/pants-exclude-parametrize