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

enough-analyst-54434

06/27/2019, 1:31 PM
No, not without a PR to Pants to upgrade its Markdown dependency. Backing up though, this implies you're writing a Pants plugin that runs tensorflow in-process in a Pants run. Is that true / intended?
a

able-farmer-8537

06/27/2019, 1:42 PM
I use a plugin that builds a docker image and a tensorflow is one of the dependencies of binary that is in the image.
I found out that it was triggered only when I was testing changes, like this:
./pants --changed-parent=master --changed-include-dependees=transitive test
. Is there a way to exclude this plugin from
pyprep
phase?
e

enough-analyst-54434

06/27/2019, 3:04 PM
Better would be to fix the Pants plugin. If the plugin doesn't run tensorflow code, it shouldn't have a dependency on tensorflow. Can you point to the plugin code or else explain why it has the dependency? I'm pretty sure we could help you undo that dependency.
Basically, if you grep the Pants plugin code, does it import tensorflow code? If not you can just remove the dependency. Is so, we need to dig a little deeper to see what the plugin is doing with that import.
3 Views