pulumi/pkg
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
..
backend Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
cmd/pulumi Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
codegen [codegen/python] Allow import path overrides (#4787) 2020-06-09 14:33:02 -07:00
engine Avoid replace on second update with import applied (#4403) 2020-04-15 18:52:40 -07:00
graph Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
npm Update NPM test to install @pulumi/pulumi 2.0 (#4596) 2020-05-08 11:15:43 -07:00
operations Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource [codegen/hcl2] Fixes for RewriteConversions. (#4743) 2020-06-02 12:00:35 -07:00
secrets Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
testing/integration Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
util Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -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