When building an external pants plugin - does Pant...
# development
w
When building an external pants plugin - does Pants provide/expose a toml implementation that can be used?
1
a
The wheel distribution includes a
Requires-Dist: toml (==0.10.2)
line, which would mean you can rely on
toml
to be present if Pants is
(Or use Python 3.11, which has toml in the stdlib!)
w
3.11 would be the bees knees, but I think plugins need to be 3.9 compliant, correct?
a
for the moment, yeah
w
Requires-Dist: toml (==0.10.2)
line, which would mean you can rely on
toml
to be present if Pants is
Ah okay, this was the behaviour I was seeing - but I assumed it was because of my interpreters. This is great to know! Thanks
a
👍
h
py 3.11 stdlib can read TOML, but not write it