pulumi/tests
Justin Van Patten b77ec919d4
Install and use dependencies automatically for new Python projects (#4775)
Automatically create a virtual environment and install dependencies in it with `pulumi new` and `pulumi policy new` for Python templates.

This will save a new `virtualenv` runtime option in `Pulumi.yaml` (`PulumiPolicy.yaml` for policy packs):

```yaml
runtime:
  name: python
  options:
    virtualenv: venv
```

`virtualenv` is the path to a virtual environment that Pulumi will use when running `python` commands.

Existing projects are unaffected and can opt-in to using this by setting `virtualenv`, otherwise, they'll continue to work as-is.
2020-06-09 16:42:53 -07:00
..
containers Skip cleanup step (#4590) 2020-05-11 14:15:53 -07:00
examples Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
integration Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
go.mod Upgrade to Go 1.14.x (#4697) 2020-05-28 12:01:33 +01:00
go.sum Support publishing Python policy packs (#4644) 2020-05-22 15:01:15 -07:00
history_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
main_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
stack_test.go Allow pulumi stack export to decrypt secrets (#4046) 2020-05-11 19:16:30 +01:00