There is a warning not to use subprocess in pants ...
# plugins
p
There is a warning not to use subprocess in pants plugins. What if I use a library that uses subprocess? 😉 Would you cringe at using
distro
in a plugin (in an
@_uncacheable_rule
)? https://pypi.org/project/distro/ https://github.com/nir0s/distro/blob/master/distro.py Looks like it runs these basic commands:
uname -rs
lsb_release -a
It also accesses a variety of files like
/etc/os-release
. Would I shoot myself in the foot by using this?