https://pantsbuild.org/ logo
r

refined-addition-53644

07/05/2022, 8:10 AM
Hi, does pants support dependencies on local packages defined inside
pyprojec.toml
when using poetry?
a

ambitious-actor-36781

07/05/2022, 9:12 AM
r

refined-addition-53644

07/05/2022, 9:28 AM
This is about such path based dependencies https://python-poetry.org/docs/dependency-specification/#path-dependencies I can try generating lockfile and see how it goes.
It does generate lockfile but pants fails when trying to import the package during test.
a

ambitious-actor-36781

07/05/2022, 9:49 AM
if the 'package' is internal to your repository, then just use pants? If the 'package' is external, bring it in and monorepo it? Pants doesn't really like things it can't control and stop changing.
h

hundreds-father-404

07/05/2022, 2:31 PM
Lockfiles don't yet support local requirements. Although John landed Pex's support, so now we only need to wire up to Pants
❤️ 1
5 Views