Re "DEPRECATED: indirectly referring to a target b...
# general
c
Re "DEPRECATED: indirectly referring to a target by using a corresponding file argument, when the target owning the file isn't applicable is scheduled to be removed in version 2.18.0.dev1." Is the answer to "how do I `pants run`" a python file that is a pex entry point now "don't do that?"?
b
You either run the file for "I just wanna run it" or you specify the PEX binary target address for "I want you to build a PEX and run _that_"
c
That makes sense to me, but I think the the WARN is telling me that the ability to "I just wanna run it" is going away between 2.17 and 2.18
hmm but it does seem to "just work" with
2.18.0rc5
.
b
Yeah there was a bug about when the warning was provided
I think we fixed it in 2.17.1 I think?