Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8] bpo-37354: Make Powershell Activate.ps1 script static to allow for signing (GH-14967) #15233

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 12, 2019

  • Remove use of replacement text in the script
  • Make use of the pyvenv.cfg file for prompt value.
  • Add parameters to allow more flexibility
  • Make use of the current path, and assumptions about where env puts things, to compensate
  • Make the script a bit more 'idiomatic' Powershell
  • Add script documentation (Get-Help ..venv\Scripts\Activate.ps1 shows PS help page now
    (cherry picked from commit 732775d)

Co-authored-by: Derek Keeler d3r3kk@users.noreply.github.com

https://bugs.python.org/issue37354

…gning (pythonGH-14967)

- Remove use of replacement text in the script
- Make use of the pyvenv.cfg file for prompt value.
- Add parameters to allow more flexibility
- Make use of the current path, and assumptions about where env puts things, to compensate
- Make the script a bit more 'idiomatic' Powershell
- Add script documentation (Get-Help .\.venv\Scripts\Activate.ps1 shows PS help page now
(cherry picked from commit 732775d)

Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
@zooba
Copy link
Member

zooba commented Aug 12, 2019

Let's hold off merging this until we've done a little more manual testing on the master build.

It should be merged before the next beta is released.

@miss-islington
Copy link
Contributor Author

@d3r3kk and @zooba: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@d3r3kk and @zooba: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@d3r3kk and @zooba: Status check is done, and it's a success ✅ .

@zooba zooba merged commit 0c64b57 into python:3.8 Aug 12, 2019
@miss-islington miss-islington deleted the backport-732775d-3.8 branch August 12, 2019 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants