pulumi/tests/integration/python/venv-with-main/Pulumi.yaml
Anton Tayanovskyy 493bac4c18
Make virtualenv paths relative to root when main points elsewhere (#6966)
* Propagate workspace.Project metadata to plugin init

* Get to a working fix

* Propagate Root via plugin context

* Propagate root instead of yaml path

* Revert out unnecessary parameter propagation

* Root is now always absolute at this point; simplify code and docs

* Drop python conditional and propagate unused -root to all lang hosts

* Add tests that fail before and pass after

* Lint

* Add changelog entry
2021-05-14 13:41:55 -04:00

8 lines
163 B
YAML

name: pulumi-python-venv
description: A simple Python Pulumi program that needs a venv to run.
runtime:
name: python
options:
virtualenv: venv
main: infra