Join Slack
Powered by
Hey folks, what's a good way to get pants to add a...
# general
c
careful-address-89803
07/04/2022, 3:09 PM
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
enough-analyst-54434
07/04/2022, 3:25 PM
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
enough-analyst-54434
07/04/2022, 3:26 PM
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
careful-address-89803
07/04/2022, 3:41 PM
Neat, thanks!
❤️ 1
Open in Slack
Previous
Next