Fix virtual env path (#5992)
This commit is contained in:
parent
0111fb60ba
commit
d0676c19a3
|
@ -2,11 +2,13 @@ CHANGELOG
|
|||
=========
|
||||
|
||||
## HEAD (Unreleased)
|
||||
_(none)_
|
||||
|
||||
- Fix regression in `venv` creation for python policy packs.
|
||||
[#5992](https://github.com/pulumi/pulumi/pull/5992)
|
||||
|
||||
## 2.16.0 (2020-12-21)
|
||||
|
||||
- Do not read plugins and policy packs into memory prior to exctraction, as doing so can exhaust
|
||||
- Do not read plugins and policy packs into memory prior to extraction, as doing so can exhaust
|
||||
the available memory on lower-end systems.
|
||||
[#5983](https://github.com/pulumi/pulumi/pull/5983)
|
||||
|
||||
|
|
|
@ -213,6 +213,7 @@ func InstallDependenciesWithWriters(root, venvDir string, showOutput bool, infoW
|
|||
print("Creating virtual environment...")
|
||||
|
||||
// Create the virtual environment by running `python -m venv <venvDir>`.
|
||||
venvDir = filepath.Join(root, venvDir)
|
||||
cmd, err := Command("-m", "venv", venvDir)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue