https://pantsbuild.org/ logo
n

nice-florist-55958

07/26/2022, 4:10 PM
Possible bug: Add resolve=X override to a requirement R in python_requirements generator parametrized by resolve=X,Y. Then pants still generates two @resolve=X,Y targets, but the resolve for both is X. Remove the override and you have the same two targets but each has their respective resolve X or Y. I expected in the override case the @resplve=X target would not be generated at all. This is causing ambiguous import warnings in some cases.
👍 1
w

witty-crayon-22786

07/26/2022, 4:12 PM
can you open an issue with an example?
n

nice-florist-55958

07/26/2022, 4:20 PM
Will do when I can access github from home.
h

hundreds-father-404

07/26/2022, 5:49 PM
Thanks for the report! Indeed, sounds like a bug
2 Views