https://pantsbuild.org/ logo
w

witty-crayon-22786

09/15/2020, 5:57 PM
i think that maybe the PR is not the best place to discuss the “runtime” vs “loose” distinction, so starting a thread here
@happy-kitchen-89482: re:
The compile time/runtime distinction is clearer in the JVM domain, and in that domain it does seem like
files
and
resources
(and any code loaded programmatically at runtime) are runtime dependencies.
i call out in the ticket that “runtime” is potentially ambiguous because you have to tell your language runtime/VM about
resources
, but you don’t have to tell it about
files
and when you think about what you’re doing with the PEX file produced by
binary
, you are not telling the runtime about it… ie, not putting it on the pythonpath. it’s a loose file, which is closest to a
files
target.
cc @hundreds-father-404 (and @average-vr-56795 if you’re interested, but feel free to unfollow if not)
… and we have a meeting, so this was bad timing for a thread, sorry.
h

hundreds-father-404

09/15/2020, 6:02 PM
(woah, how did you link that text? does Slack support markdown style links?)
w

witty-crayon-22786

09/15/2020, 6:04 PM
yea
they added all of the syntax a while back
but if you select some text and paste a link it also converts it, which is neat