Hey folks, what's a good way to get pants to add a...
# general
c
Hey folks, what's a good way to get pants to add a dependency even if it looks unused? The Azure async libraries need aiohttp installed, but it's imported somewhere deep and it looks like Pants isn't including it in the pex
1
e
See here and speak up if that 1st example doesn't shed light: https://www.pantsbuild.org/docs/python-third-party-dependencies#how-dependencies-are-chosen
Alternativeliy, if every dependee of the Azure async libs should get the dep added: https://www.pantsbuild.org/docs/python-third-party-dependencies#requirements-with-undeclared-dependencies
c
Neat, thanks!
❤️ 1