[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation
Change by Derek Keeler : -- keywords: +patch pull_requests: +18493 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19131 ___ Python tracker <https://bugs.python.org/issue38972> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38972] [venv] Link to instructions to change PowerShell execution policy for venv activation
Derek Keeler added the comment: Where would we like to put this information? My proposal would be to add this in a combination of places: 1. Add a further note near the symlinks on Windows comment in this document: `Doc\using\venv-create.inc` 2. Add a blurb in the Activate.ps1 script itself, so that any user can see it very near where the problem might occur. `Lib\venv\scripts\common\Activate.ps1` I'd probably put something like the following in there: --- .. note:: On Microsoft Windows, it may be required to enable the ``Activate.ps1`` script by setting the execution policy for the user. You can do this by issuing the following Powershell command from a Powershell command window: PS C:\Users\user> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser See `About Execution Policies <https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7>`_ for more information. --- (This would exist as a ".Notes" section in the Activate.ps1 script) What do folks think? -- nosy: +d3r3kk ___ Python tracker <https://bugs.python.org/issue38972> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37354] Write PowerShell Activate.ps1 to be static so it can be signed
Change by Derek Keeler : -- nosy: +d3r3kk ___ Python tracker <https://bugs.python.org/issue37354> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32910] venv: Deactivate.ps1 is not created when Activate.ps1 was used
Change by Derek Keeler : -- keywords: +patch pull_requests: +14737 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14968 ___ Python tracker <https://bugs.python.org/issue32910> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35667] activate for venv containing apostrophe doesn't work in powershell
Change by Derek Keeler : -- keywords: +patch pull_requests: +14736 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14967 ___ Python tracker <https://bugs.python.org/issue35667> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37354] Write PowerShell Activate.ps1 to be static so it can be signed
Change by Derek Keeler : -- keywords: +patch pull_requests: +14735 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14967 ___ Python tracker <https://bugs.python.org/issue37354> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com