This message was deleted.
# pulumi-deployments
s
This message was deleted.
l
@wide-cat-87818 have a look at the
Things to know
to combine Poetry with Pulumi. The example project is a monorepo with multiple projects, but the most important thing for you is the
in-project = true
setting which creates the virtual environment in the Pulumi project folder. If you then set the
virtualenv
path as a subproperty of the
runtime
key, I hope this gets you passed the
Download Dependencies
phase. You could run Poetry commands as a pre-command then. https://github.com/ringods/pulumi-python-poetry-monorepo#things-to-know https://www.pulumi.com/docs/reference/pulumi-yaml/#runtime-options
l
@wide-cat-87818 We have an issue open to disable automatic dependency installation, in which case you could customize the behavior via pre-run commands. https://github.com/pulumi/service-requests/issues/126
If you +1 that issue you'll get updates when we fix it (hopefully in the next week or two)
w
Thanks for the fast response @limited-rainbow-51650 @lemon-agent-27707.
r
Hey @wide-cat-87818 we just shipped this change! Take it for a spin and let us know what you think. https://github.com/pulumi/service-requests/issues/126#issuecomment-1314623269
w
@red-match-15116 Thanks for that. 🙂 I will give it a try the next days.
204 Views