I know we're anti-new Pants deps (for good reason)...
# development
b
I know we're anti-new Pants deps (for good reason), but the deprecation fixers make me want to use
libcst
for Python and
tomlkit
for
pants.toml
. Thoughts?
1
h
iirc, libcst made the Pants install slower or something. I think Danny McClanahan had experimented with using it for dep inference Rather than adding libcst as a dep of Pants, you can treat it as a Python tool that gets installed by Pants?
for tomlkit, would you replace our current
toml
with that?
f
can the fixers just run in a
VenvPexProcess
where those libraries are resolved?
b
LOL I literally had this thought when I was thinking about this issue this weekend. Then forgot that idsa 😞 I should write mor stuff down
😂 1
Yeah yeah yeah. Sorry for the noise 😂 Glad I work with other smart folks who are faster than me
❤️ 1
f
(the terraform dependency inference installs
python-hcl2
that way)
h
no need to sell yourself short - rubber ducks are very powerful 🦆 we all have threads like this heh
b
We might wanna switch to `tomli`because it's smaller. But I plan on using in-rule
tomlkit
along with
libcst
c
I do this all the time too 😄
🏆 1