high-yak-85899
03/01/2023, 10:21 PMloud-laptop-17949
03/01/2023, 10:22 PMhigh-yak-85899
03/01/2023, 10:23 PMloud-laptop-17949
03/01/2023, 10:24 PMenough-analyst-54434
03/01/2023, 10:27 PMhigh-yak-85899
03/01/2023, 10:30 PMenough-analyst-54434
03/01/2023, 10:40 PM__import("...")__
or importlib.importmodule("...")
.sys.path
at runtime.high-yak-85899
03/01/2023, 10:41 PMenough-analyst-54434
03/01/2023, 10:42 PMInfer a target's asset dependencies based on strings that look like Posix filepaths, such as those given to open or pkgutil.get_data.
That seems pretty clear to me.careful-address-89803
03/02/2023, 4:13 AMpython-dump-source-analysis
goal, it'll tell you what Pants is thinking. It's possible that Pants has found something that looks like it could be an inferred file, but it can't find the file (for whatever reason) and isn't going to sweat it.
I think the most relevant source is here , which talks about the specifics of which files Pants looks for when it finds a possible asset import