Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-41011: venv -- add more variables to pyvenv.cfg (GH-30382) | andrei kulakov | 2022-01-07 | 1 | -0/+24 |
| | |||||
* | bpo-45337: Use the realpath of the new executable when creating a venv on ↵ | Steve Dower | 2021-10-07 | 1 | -7/+17 |
| | | | | Windows (GH-28663) | ||||
* | Fix typos in the Lib directory (GH-28775) | Christian Clauss | 2021-10-06 | 1 | -1/+1 |
| | | | | | Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-43749: Ensure current exe is copied when using venv on windows (GH-25216) | Ian Norton | 2021-05-19 | 1 | -2/+3 |
| | | | Automerge-Triggered-By: GH:vsajip | ||||
* | bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587) | Zackery Spytz | 2020-07-28 | 6 | -1/+15 |
| | | | Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com> | ||||
* | bpo-38972: Fix typos in PowerShell Execution Policies links (GH-20383) | Miro Hrončok | 2020-05-25 | 1 | -1/+1 |
| | |||||
* | Fix the URL to fishshell.com (GH-20251) | Jonathan Goble | 2020-05-20 | 1 | -1/+1 |
| | |||||
* | bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131) | Derek Keeler | 2020-04-02 | 1 | -4/+15 |
| | |||||
* | bpo-39656: Ensure `bin/python3.#` is always present in virtual environments ↵ | Anthony Sottile | 2020-03-17 | 1 | -1/+1 |
| | | | | on POSIX (GH-19030) | ||||
* | bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) | schwarzichet | 2020-02-05 | 1 | -1/+0 |
| | |||||
* | bpo-38901: Allow setting a venv's prompt to the basename of the current ↵ | Vinay Sajip | 2020-01-14 | 1 | -0/+2 |
| | | | | | | directory. (GH-17946) When a prompt value of '.' is specified, os.path.basename(os.getcwd()) is used to configure the prompt for the created venv. | ||||
* | venv: Suppress warning message when bash hashing is disabled. (GH-17966) | Dima | 2020-01-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | 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 | ||||
* | Fix old mention of virtualenv (GH-17417) | Brett Cannon | 2019-11-29 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @brettcannon | ||||
* | bpo-38927: Use python -m pip to upgrade venv deps (GH-17403) | Tzu-ping Chung | 2019-11-27 | 1 | -3/+3 |
| | | | I suggest you add `bpo-NNNNN: ` as a prefix for the first commit for future PRs. Thanks! | ||||
* | bpo-38899: virtual environment activation for fish should use `source` ↵ | Brett Cannon | 2019-11-23 | 1 | -2/+2 |
| | | | | | | | | | | | | (GH-17359) 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 | ||||
* | bpo-38344: Fix syntax in activate.bat (GH-16533) | James Abel | 2019-10-07 | 1 | -1/+1 |
| | |||||
* | bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15330) | Daniel Abrahamsson | 2019-09-11 | 1 | -1/+1 |
| | | | | | | | | | | 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 ``` | ||||
* | bpo-36634: Fixes activate.bat when existing values contain double quotes ↵ | Steve Dower | 2019-09-11 | 1 | -25/+13 |
| | | | | (GH-15924) | ||||
* | bpo-37663: have venv activation scripts all consistently use __VENV_PROMPT__ ↵ | Brett Cannon | 2019-08-21 | 3 | -46/+13 |
| | | | | | | | for prompt customization (GH-14941) 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). | ||||
* | bpo-37354: Make Powershell Activate.ps1 script static to allow for signing ↵ | Derek Keeler | 2019-08-12 | 1 | -28/+203 |
| | | | | | | | | | | (GH-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 | ||||
* | bpo-37369: Fix initialization of sys members when launched via an app ↵ | Steve Dower | 2019-06-29 | 1 | -37/+56 |
| | | | | | | | container (GH-14428) sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable | ||||
* | bpo-34556: Add --upgrade-deps to venv module (#13100) | Cooper Lees | 2019-06-17 | 1 | -5/+29 |
| | | | | | | | Add --upgrade-deps to venv module - This allows for pip + setuptools to be automatically upgraded to the latest version on PyPI - Update documentation to represent this change bpo-34556: Add --upgrade to venv module | ||||
* | bpo-34144: Fix of venv acvtivate.bat for win 10 (GH-8321) | Lorenz Mende | 2019-04-10 | 1 | -1/+1 |
| | | | | | | | | | The script needs to be updated to support win 10/ 1803 chcp.com command (output has trailing dot) https://bugs.python.org/issue34144 | ||||
* | bpo-36441: Fixes creating a venv when debug binaries are installed. (#12566) | Steve Dower | 2019-03-27 | 1 | -0/+3 |
| | |||||
* | bpo-35978: Correctly skips venv tests in venvs (GH-12220) | Steve Dower | 2019-03-21 | 1 | -7/+12 |
| | | | Also fixes venvs from the build directory on Windows. | ||||
* | bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440) | Cheryl Sabella | 2019-03-08 | 1 | -0/+2 |
| | |||||
* | bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) | Steve Dower | 2019-02-04 | 1 | -4/+1 |
| | | | | After reading __PYVENV_LAUNCHER__ we now set sys._base_executable value for later use. Make the same changes for macOS to avoid extra platform checks. | ||||
* | bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700) | Steve Dower | 2019-01-30 | 1 | -17/+44 |
| | |||||
* | bpo-34977: Use venv redirector instead of original python.exe on Windows ↵ | Steve Dower | 2018-12-10 | 1 | -30/+19 |
| | | | | (GH-11029) | ||||
* | Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019) | Victor Stinner | 2018-12-07 | 1 | -19/+30 |
| | | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad. | ||||
* | bpo-34977: Add Windows App Store package (GH-10245) | Steve Dower | 2018-12-07 | 1 | -30/+19 |
| | |||||
* | Revert "bpo-32409: Fix regression in activate.bat on international Windows ↵ | Pablo Galindo | 2018-11-07 | 1 | -5/+6 |
| | | | | | (GH-10295)" (GH-10403) This reverts commit c64583b6d3e8516a8cd2b5f84fc1e300bfac2206 due to multiple buildbot failures when building it. | ||||
* | bpo-32409: Fix regression in activate.bat on international Windows (GH-10295) | samstagern | 2018-11-07 | 1 | -6/+5 |
| | | | | | | | | | | | Handle Unicode contents on localised Windows systems when activating a venv. activate.bat currently breaks on German Windows systems, as chcp.com does not return a plain number as on English systems, but (arbitrarily) appends a dot at the end (for example "Aktive Codepage: 850." instead of "Active Codepage: 850"). The dependency to chcp.com is removed and ctypes is used to get, set and restore the console output code page. The code page for console input is not changed. We can't use __VENV_PYTHON__ to find python.exe, since it's UTF-8. cmd.exe decodes the script using the console output code page. | ||||
* | bpo-32718: Make Activate.ps1 for venv cross-platform and available on all ↵ | Brett Cannon | 2018-09-21 | 1 | -1/+6 |
| | | | | | | | platforms (GH-9321) PowerShell Core 6.1 is the cross-platform port of Windows PowerShell. This change updates Activate.ps1 to not make Windows assumptions as well as installing it into the bin/Scripts directory on all operating systems. Requires PowerShell Core 6.1 for proper readline support once the shell has been activated for the virtual environment. | ||||
* | bpo-34011: Fixes missing venv files and other tests (GH-9458) | Steve Dower | 2018-09-20 | 1 | -23/+25 |
| | |||||
* | bpo-34011: Update code copying DLLs and init.tcl into venvs. (GH-8253) | Vinay Sajip | 2018-07-20 | 1 | -1/+5 |
| | |||||
* | bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757) | Steve Dower | 2018-02-20 | 1 | -0/+13 |
| | |||||
* | bpo-25351: avoid activate failure on strict shells (GH-3804) | Sorin Sbarnea | 2017-09-29 | 1 | -13/+13 |
| | |||||
* | bpo-31462: Remove trailing whitespaces. (#3564) | Serhiy Storchaka | 2017-09-14 | 1 | -1/+1 |
| | |||||
* | bpo-27425: Be more explicit in .gitattributes (GH-840) | Zachary Ware | 2017-06-10 | 3 | -104/+104 |
| | | | Updates checked-in line endings on several files. | ||||
* | Closes #29213: Merged fix from 3.6. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| | |||||
* | Fixes #24875: Merged fix from 3.5. | Vinay Sajip | 2017-02-02 | 1 | -0/+9 |
|\ | |||||
| * | Fixes #24875: pip can now be installed in a venv with --system-site-packages. | Vinay Sajip | 2017-02-02 | 1 | -0/+9 |
| | | |||||
* | | Fixes #29308: Merged fix from 3.5. | Vinay Sajip | 2017-01-27 | 1 | -7/+9 |
|\ \ | |/ | |||||
| * | Fixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1. | Vinay Sajip | 2017-01-27 | 1 | -7/+9 |
| | | |||||
* | | Null merge | Serhiy Storchaka | 2017-01-12 | 1 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #22343: Made bash activate script available on Windows. | Vinay Sajip | 2017-01-12 | 1 | -0/+0 |
| | | |||||
* | | Closes #25671: Merged fix from 3.5. | Vinay Sajip | 2016-09-11 | 1 | -19/+20 |
|\ \ | |/ | |||||
| * | Fixes #25671: Updated prompt handling in activate.fish. | Vinay Sajip | 2016-09-11 | 1 | -19/+20 |
| | | |||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 3 | -3/+3 |
| | |