You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, instantiating a Python template using pulumi new installs the Pulumi package and dependencies outside of a virtual environment, which is fraught with peril and outside of what users will expect if they intend to use virtual environments. We should consider creating a virtual environment for users when running pulumi new.
We should decide whether or not we should push pipenv on people or if we should just use virtualenv for this. Either way, we should be installing packages into a virtual environment.
The text was updated successfully, but these errors were encountered:
Short term - make sure that pulumi new works for Python. That may mean skipping auto-update for Python templates and printing out instructions for what to do manually.
Make end-to-end smooth but automatically creating virtualenv and installing dependencies so that we can go all the way to update succesfully.
lukehoban
added
the
p1
Bugs severe enough to be the next item assigned to an engineer
label
Nov 15, 2018
Since we're not a shell, I don't believe it's particularly useful to activate a virtual environment from the CLI since a user will have to source it again anyway. If there's any demand for this feature, we can re-open this issue.
Today, instantiating a Python template using
pulumi new
installs the Pulumi package and dependencies outside of a virtual environment, which is fraught with peril and outside of what users will expect if they intend to use virtual environments. We should consider creating a virtual environment for users when runningpulumi new
.We should decide whether or not we should push
pipenv
on people or if we should just usevirtualenv
for this. Either way, we should be installing packages into a virtual environment.The text was updated successfully, but these errors were encountered: