<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/venv/scripts, branch refactor-lambda-parameters</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131)</title>
<updated>2020-04-02T19:00:21+00:00</updated>
<author>
<name>Derek Keeler</name>
<email>d3r3kk@users.noreply.github.com</email>
</author>
<published>2020-04-02T19:00:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=45217af29c7f380089af17beb48a5ea0560bbb9d'/>
<id>45217af29c7f380089af17beb48a5ea0560bbb9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290)</title>
<updated>2020-02-05T08:16:58+00:00</updated>
<author>
<name>schwarzichet</name>
<email>15522755+schwarzichet@users.noreply.github.com</email>
</author>
<published>2020-02-05T08:16:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=787b6d548c250f36df6d3f3179f60d754c8aa5e3'/>
<id>787b6d548c250f36df6d3f3179f60d754c8aa5e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>venv: Suppress warning message when bash hashing is disabled. (GH-17966)</title>
<updated>2020-01-14T20:47:59+00:00</updated>
<author>
<name>Dima</name>
<email>43349662+d-goldin@users.noreply.github.com</email>
</author>
<published>2020-01-14T20:47:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4b0d91aab4cfba30a2a9728e9eaea15dbc0ba9bd'/>
<id>4b0d91aab4cfba30a2a9728e9eaea15dbc0ba9bd</id>
<content type='text'>
When using python's built-in venv activaton script
warnings are printed when hashing is disabled in
bash or zsh, like;

`bash: hash: hashing disabled`

This output is not really useful to the end-user and has
been disabled in `virtualenv` for long.

This commit is based on:
https://github.com/pypa/virtualenv/commit/28e85bcd80d04b2a7ebce0e1d0b02d432b7e5593</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using python's built-in venv activaton script
warnings are printed when hashing is disabled in
bash or zsh, like;

`bash: hash: hashing disabled`

This output is not really useful to the end-user and has
been disabled in `virtualenv` for long.

This commit is based on:
https://github.com/pypa/virtualenv/commit/28e85bcd80d04b2a7ebce0e1d0b02d432b7e5593</pre>
</div>
</content>
</entry>
<entry>
<title>Fix old mention of virtualenv (GH-17417)</title>
<updated>2019-11-29T23:37:08+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>54418+brettcannon@users.noreply.github.com</email>
</author>
<published>2019-11-29T23:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1df65f7c6c00dfae9286c7a58e1b3803e3af33e5'/>
<id>1df65f7c6c00dfae9286c7a58e1b3803e3af33e5</id>
<content type='text'>
Automerge-Triggered-By: @brettcannon</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: @brettcannon</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38899: virtual environment activation for fish should use `source` (GH-17359)</title>
<updated>2019-11-23T07:32:27+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>54418+brettcannon@users.noreply.github.com</email>
</author>
<published>2019-11-23T07:32:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=84b1ff65609c5910b4f838adbe1ead83baae7dbf'/>
<id>84b1ff65609c5910b4f838adbe1ead83baae7dbf</id>
<content type='text'>
The previously documented use of `.` is considered deprecated (https://fishshell.com/docs/current/commands.html#source).


https://bugs.python.org/issue38899



Automerge-Triggered-By: @brettcannon</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previously documented use of `.` is considered deprecated (https://fishshell.com/docs/current/commands.html#source).


https://bugs.python.org/issue38899



Automerge-Triggered-By: @brettcannon</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38344: Fix syntax in activate.bat (GH-16533)</title>
<updated>2019-10-07T21:07:19+00:00</updated>
<author>
<name>James Abel</name>
<email>j@abel.co</email>
</author>
<published>2019-10-07T21:07:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e310af9e2941c2fbb7370e003276cc37eb230f16'/>
<id>e310af9e2941c2fbb7370e003276cc37eb230f16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15330)</title>
<updated>2019-09-11T14:58:56+00:00</updated>
<author>
<name>Daniel Abrahamsson</name>
<email>hamsson@gmail.com</email>
</author>
<published>2019-09-11T14:58:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5209e586b7cac9a43b2c44349a26b1b0af06ead3'/>
<id>5209e586b7cac9a43b2c44349a26b1b0af06ead3</id>
<content type='text'>
Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning:

``` 
$ python3 -m venv test
$ source test/bin/activate
(test) $ deactivate
-bash: $1: unbound variable
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning:

``` 
$ python3 -m venv test
$ source test/bin/activate
(test) $ deactivate
-bash: $1: unbound variable
```</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36634: Fixes activate.bat when existing values contain double quotes (GH-15924)</title>
<updated>2019-09-11T14:41:21+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2019-09-11T14:41:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=574b324bdc9a126b5a4488c3613f11ad2555415e'/>
<id>574b324bdc9a126b5a4488c3613f11ad2555415e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37663: have venv activation scripts all consistently use __VENV_PROMPT__ for prompt customization (GH-14941)</title>
<updated>2019-08-21T22:58:01+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>54418+brettcannon@users.noreply.github.com</email>
</author>
<published>2019-08-21T22:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=48ede6b8f685669f53d26ae8456647af42ae3dae'/>
<id>48ede6b8f685669f53d26ae8456647af42ae3dae</id>
<content type='text'>
The activation scripts generated by venv were inconsistent in how they changed the shell's prompt. Some used `__VENV_PROMPT__` exclusively, some used `__VENV_PROMPT__` if it was set even though by default `__VENV_PROMPT__` is always set and the fallback matched the default, and one ignored `__VENV_PROMPT__` and used `__VENV_NAME__` instead (and even used a differing format to the default prompt). This change now has all activation scripts use `__VENV_PROMPT__` only and relies on the fact that venv sets that value by default.

The color of the customization is also now set in fish to the blue from the Python logo for as hex color support is built into that shell (much like PowerShell where the built-in green color is used).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The activation scripts generated by venv were inconsistent in how they changed the shell's prompt. Some used `__VENV_PROMPT__` exclusively, some used `__VENV_PROMPT__` if it was set even though by default `__VENV_PROMPT__` is always set and the fallback matched the default, and one ignored `__VENV_PROMPT__` and used `__VENV_NAME__` instead (and even used a differing format to the default prompt). This change now has all activation scripts use `__VENV_PROMPT__` only and relies on the fact that venv sets that value by default.

The color of the customization is also now set in fish to the blue from the Python logo for as hex color support is built into that shell (much like PowerShell where the built-in green color is used).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37354: Make Powershell Activate.ps1 script static to allow for signing (GH-14967)</title>
<updated>2019-08-12T20:06:02+00:00</updated>
<author>
<name>Derek Keeler</name>
<email>d3r3kk@users.noreply.github.com</email>
</author>
<published>2019-08-12T20:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=732775d6be8062e72cf4995d5a9db0170e22c233'/>
<id>732775d6be8062e72cf4995d5a9db0170e22c233</id>
<content type='text'>
- 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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</pre>
</div>
</content>
</entry>
</feed>
