Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15973) | Miss Islington (bot) | 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 ``` (cherry picked from commit 5209e586b7cac9a43b2c44349a26b1b0af06ead3) Co-authored-by: Daniel Abrahamsson <hamsson@gmail.com> | ||||
* | bpo-36634: Fixes activate.bat when existing values contain double quotes ↵ | Miss Islington (bot) | 2019-09-11 | 1 | -25/+13 |
| | | | | | | | (GH-15924) (cherry picked from commit 574b324bdc9a126b5a4488c3613f11ad2555415e) Co-authored-by: Steve Dower <steve.dower@python.org> | ||||
* | [3.8] bpo-37354: Make Powershell Activate.ps1 script static to allow for ↵ | Miss Islington (bot) | 2019-08-12 | 1 | -28/+203 |
| | | | | | | | | | | | | | signing (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 (cherry picked from commit 732775d6be8062e72cf4995d5a9db0170e22c233) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com> | ||||
* | bpo-37369: Fix initialization of sys members when launched via an app ↵ | Steve Dower | 2019-06-29 | 1 | -38/+56 |
| | | | | | | container (GH-14467) 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-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 |
| | | |||||
* | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 3 | -3/+3 |
| | | |||||
* | | Closes #22829: Added --prompt option to venv. | Vinay Sajip | 2016-08-06 | 1 | -5/+13 |
| | | |||||
* | | Merge from 3.5 for issue #26664 | Brett Cannon | 2016-06-30 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #26665: Remove mis-use of ``$`` in activate.fish. | Brett Cannon | 2016-06-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | This is a revertion of cfc66e37eb8e. Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang Zhang, and Dan McCombs for diagnosing the issue. | ||||
* | | Fixes #26348: Merged fix from 3.5. | Vinay Sajip | 2016-02-13 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fixes #26348: Corrected typos in activate.fish script. | Vinay Sajip | 2016-02-13 | 1 | -2/+2 |
| | | |||||
* | | Simply docstrings of venv module | Berker Peksag | 2016-01-30 | 1 | -39/+1 |
|/ | | | | | | | | This will hopefully make maintenance of venv documentation easier. For example, see commits a4f0d76af176 and 5764cc02244d. This patch has been reviewed by Vinaj Sajip, the maintainer of venv module. | ||||
* | Issue #26034: Improve wording of clear parameter | Berker Peksag | 2016-01-28 | 1 | -4/+4 |
| | |||||
* | Issue #26034: Sync documentation of --clear with its behavior | Berker Peksag | 2016-01-28 | 1 | -9/+6 |
| | | | | Most of the docs has already been updated in c3c188a0325a. | ||||
* | Issue #23399: pyvenv creates relative symlinks where possible. | Barry Warsaw | 2015-02-06 | 1 | -6/+8 |
| | |||||
* | Issue #21663: Fixed error caused by trying to create an existing directory. | Vinay Sajip | 2014-06-05 | 1 | -1/+2 |
| | |||||
* | Don't chmod() if path is a symlink. | Barry Warsaw | 2014-06-04 | 1 | -1/+2 |
| | |||||
* | Issue #21643: Updated test and fixed logic bug in lib64 symlink creation. | Vinay Sajip | 2014-06-03 | 1 | -3/+3 |
| | |||||
* | Issue #18807: If copying (no symlinks) specified for a venv, then the python ↵ | Vinay Sajip | 2014-05-28 | 1 | -1/+4 |
| | | | | interpreter aliases (python, python3) are now created by copying rather than symlinking. | ||||
* | Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX. | Vinay Sajip | 2014-04-15 | 1 | -2/+11 |
| | |||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | |||||
* | Issue #19734: venv still needs isolated mode | Nick Coghlan | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Issue 19734: better diagnostics for test_venv failures | Nick Coghlan | 2013-11-24 | 1 | -2/+2 |
| |