creamy-truck-92790
09/20/2022, 7:43 AMhappy-kitchen-89482
09/20/2022, 4:56 PMpython_distribution
targets, and code in libraryB depends on code in libraryA then when running tests etc. the dependency will be resolved in-repo, but when packaging libraryA and libraryB will be packaged separately, and an install_requires
will be generated into the setup.py
.happy-kitchen-89482
09/20/2022, 4:57 PMsetup.py
, and it sounds like you’re hand-writing the distribution’s build using poetry?creamy-truck-92790
09/21/2022, 2:51 PMpython_requirements
goal, not the poetry_requirements
goal?happy-kitchen-89482
09/21/2022, 3:02 PM*_requirements
targets are about defining existing published 3rdparty deps for Pants to resolve and use. What I’m referring to is python_distribution
, which is about Pants packaging a distribution from your code.happy-kitchen-89482
09/21/2022, 3:03 PMhappy-kitchen-89482
09/21/2022, 3:05 PMcreamy-truck-92790
09/22/2022, 7:53 AM