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

brainy-solstice-27042

06/03/2022, 7:28 PM
Is there an alternative to pystache or MustacheRenderer in pants 2.11? I've got two plugins that used pystache for templating and creating files based off targets passed in.
h

hundreds-father-404

06/03/2022, 7:42 PM
Hi! What do you mean? I'm not following how Pants relates to Pystache and MustacheRenderer
b

brainy-solstice-27042

06/03/2022, 7:45 PM
A couple of plugins used to have this import statement, which doesn't work anymore.
from pants.base.mustache import MustacheRenderer
And after I added pystache to my global build file to try and get around the fact that the library was removed from pants , the pants goal registration fails to locate pystache module
h

hundreds-father-404

06/03/2022, 7:45 PM
Oh, add to
[GLOBAL].plugins
option
b

brainy-solstice-27042

06/03/2022, 7:47 PM
Bookmarked that page, I tried searching for a bit and unfortunately didn't see this page. That got me past the pystache hurdle, thanks!
❤️ 1
5 Views