summaryrefslogtreecommitdiffstats
path: root/Lib/venv
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15973)Miss Islington (bot)2019-09-111-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-111-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-121-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 Dower2019-06-291-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 Mende2019-04-101-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 Dower2019-03-271-0/+3
|
* bpo-35978: Correctly skips venv tests in venvs (GH-12220)Steve Dower2019-03-211-7/+12
| | | Also fixes venvs from the build directory on Windows.
* bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440)Cheryl Sabella2019-03-081-0/+2
|
* bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)Steve Dower2019-02-041-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 Dower2019-01-301-17/+44
|
* bpo-34977: Use venv redirector instead of original python.exe on Windows ↵Steve Dower2018-12-101-30/+19
| | | | (GH-11029)
* Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)Victor Stinner2018-12-071-19/+30
| | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.
* bpo-34977: Add Windows App Store package (GH-10245)Steve Dower2018-12-071-30/+19
|
* Revert "bpo-32409: Fix regression in activate.bat on international Windows ↵Pablo Galindo2018-11-071-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)samstagern2018-11-071-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 Cannon2018-09-211-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 Dower2018-09-201-23/+25
|
* bpo-34011: Update code copying DLLs and init.tcl into venvs. (GH-8253)Vinay Sajip2018-07-201-1/+5
|
* bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757)Steve Dower2018-02-201-0/+13
|
* bpo-25351: avoid activate failure on strict shells (GH-3804)Sorin Sbarnea2017-09-291-13/+13
|
* bpo-31462: Remove trailing whitespaces. (#3564)Serhiy Storchaka2017-09-141-1/+1
|
* bpo-27425: Be more explicit in .gitattributes (GH-840)Zachary Ware2017-06-103-104/+104
| | | Updates checked-in line endings on several files.
* Closes #29213: Merged fix from 3.6.Vinay Sajip2017-02-022-7/+5
|
* Fixes #24875: Merged fix from 3.5.Vinay Sajip2017-02-021-0/+9
|\
| * Fixes #24875: pip can now be installed in a venv with --system-site-packages.Vinay Sajip2017-02-021-0/+9
| |
* | Fixes #29308: Merged fix from 3.5.Vinay Sajip2017-01-271-7/+9
|\ \ | |/
| * Fixes #29308: Respect VIRTUAL_ENV_DISABLE_PROMPT in Activate.ps1.Vinay Sajip2017-01-271-7/+9
| |
* | Null mergeSerhiy Storchaka2017-01-121-0/+0
|\ \ | |/
| * Issue #22343: Made bash activate script available on Windows.Vinay Sajip2017-01-121-0/+0
| |
* | Closes #25671: Merged fix from 3.5.Vinay Sajip2016-09-111-19/+20
|\ \ | |/
| * Fixes #25671: Updated prompt handling in activate.fish.Vinay Sajip2016-09-111-19/+20
| |
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-073-3/+3
| |
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-303-3/+3
| |
* | Closes #22829: Added --prompt option to venv.Vinay Sajip2016-08-061-5/+13
| |
* | Merge from 3.5 for issue #26664Brett Cannon2016-06-301-2/+2
|\ \ | |/
| * Issue #26665: Remove mis-use of ``$`` in activate.fish.Brett Cannon2016-06-301-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 Sajip2016-02-131-2/+2
|\ \ | |/
| * Fixes #26348: Corrected typos in activate.fish script.Vinay Sajip2016-02-131-2/+2
| |
* | Simply docstrings of venv moduleBerker Peksag2016-01-301-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 parameterBerker Peksag2016-01-281-4/+4
|
* Issue #26034: Sync documentation of --clear with its behaviorBerker Peksag2016-01-281-9/+6
| | | | Most of the docs has already been updated in c3c188a0325a.
* Issue #23399: pyvenv creates relative symlinks where possible.Barry Warsaw2015-02-061-6/+8
|
* Issue #21663: Fixed error caused by trying to create an existing directory.Vinay Sajip2014-06-051-1/+2
|
* Don't chmod() if path is a symlink.Barry Warsaw2014-06-041-1/+2
|
* Issue #21643: Updated test and fixed logic bug in lib64 symlink creation.Vinay Sajip2014-06-031-3/+3
|
* Issue #18807: If copying (no symlinks) specified for a venv, then the python ↵Vinay Sajip2014-05-281-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 Sajip2014-04-151-2/+11
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+0
|
* Issue #19734: venv still needs isolated modeNick Coghlan2013-11-241-1/+1
|
* Issue 19734: better diagnostics for test_venv failuresNick Coghlan2013-11-241-2/+2
|