This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients Steve Barnes, eryksun, paul.moore, ricpol, steve.dower, tim.golden, vinay.sajip, wdhwg001, zach.ware
Date 2017-05-14.13:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494768406.86.0.159507876686.issue28686@psf.upfronthosting.co.za>
In-reply-to
Content
> If the user is operating in a virtual environment they are ring fenced and, presumably, don't wish any other versions of python to be used

I'm not sure that's true. I have a number of tools which rely on specific libraries and so I have created venvs for them. I then link the different tool executable scripts from e.g. ~/.virtualenvs/foo_env/bin to ~/bin. Each script, because its shebang references the interpreter in its venv, runs with the correct Python version and libraries available in that venv. Once set up, these scripts are treated by me as "black boxes" in the course of my normal workflow.

When I happen to activate some other venv in the course of my development work, I don't want all these tool scripts to stop working because they try to use the interpreter and libraries installed in that venv, rather than the venv that they live in.
History
Date User Action Args
2017-05-14 13:26:46vinay.sajipsetrecipients: + vinay.sajip, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, wdhwg001, ricpol, Steve Barnes
2017-05-14 13:26:46vinay.sajipsetmessageid: <1494768406.86.0.159507876686.issue28686@psf.upfronthosting.co.za>
2017-05-14 13:26:46vinay.sajiplinkissue28686 messages
2017-05-14 13:26:46vinay.sajipcreate