separate warning, it looks like pants 2.16 doesn’t...
# general
h
separate warning, it looks like pants 2.16 doesn’t know about
tomllib
in python 2.11 yet?
Copy code
11:19:24.46 [WARN] Pants cannot infer owners for the following imports in the target src/example.py:

  * tomllib (line: 2)

If you do not expect an import to be inferrable, add `# pants: no-infer-dep` to the import line. Otherwise, see <https://www.pantsbuild.org/v2.16/docs/troubleshooting#import-errors-and-missing-dependencies> for common problems.
1
f
my PR adding this was merged, but it's in 2.17.0a0+, sorry for the inconvenience!
👍 1
h
alright, good to know it’s not a problem on my end 😅
looks like 2.17 is already on rc2, so I’m guessing it should be coming soon 👀