https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

10/24/2022, 7:20 PM
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

hundreds-father-404

10/24/2022, 7:25 PM
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

fast-nail-55400

10/24/2022, 7:25 PM
can the fixers just run in a
VenvPexProcess
where those libraries are resolved?
b

bitter-ability-32190

10/24/2022, 7:25 PM
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

fast-nail-55400

10/24/2022, 7:26 PM
(the terraform dependency inference installs
python-hcl2
that way)
h

hundreds-father-404

10/24/2022, 7:26 PM
no need to sell yourself short - rubber ducks are very powerful 🦆 we all have threads like this heh
b

bitter-ability-32190

10/24/2022, 7:28 PM
We might wanna switch to `tomli`because it's smaller. But I plan on using in-rule
tomlkit
along with
libcst
c

curved-television-6568

10/24/2022, 7:30 PM
I do this all the time too 😄
🏆 1