summaryrefslogtreecommitdiff
path: root/Lib/test/test_venv.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36342: Fix test_multiprocessing in test_venv (GH-12513)xdegaye2019-05-301-1/+6
| | | | | | | when platform lacks a functioning sem_open implementation https://bugs.python.org/issue36342
* bpo-35978: Correctly skips venv tests in venvs (GH-12220)Steve Dower2019-03-211-5/+10
| | | Also fixes venvs from the build directory on Windows.
* bpo-35661: Fix failing test on buildbot (GH-12297)Cheryl Sabella2019-03-121-4/+6
|
* bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440)Cheryl Sabella2019-03-081-0/+6
|
* bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)Steve Dower2019-02-031-9/+2
| | | | 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-1/+0
|
* bpo-35797: Fix default executable used by the multiprocessing module (GH-11676)Steve Dower2019-01-251-0/+13
|
* bpo-34977: Use venv redirector instead of original python.exe on Windows ↵Steve Dower2018-12-101-0/+1
| | | | (GH-11029)
* Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)Victor Stinner2018-12-071-1/+0
| | | This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.
* bpo-34977: Add Windows App Store package (GH-10245)Steve Dower2018-12-061-0/+1
|
* Fix the construction of subprocess.CalledProcessError in test_venv (GH-10400)Pablo Galindo2018-11-071-1/+1
| | | The constructor of subprocess.CalledProcessError in the check_output function had an extra None in it.
* bpo-34011: Fixes missing venv files and other tests (GH-9458)Steve Dower2018-09-201-35/+32
|
* bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757)Steve Dower2018-02-191-0/+18
|
* bpo-32088: Display Deprecation in debug mode (#4474)Victor Stinner2017-11-201-2/+5
| | | | | | | | When Python is build is debug mode (Py_DEBUG), DeprecationWarning, PendingDeprecationWarning and ImportWarning warnings are now displayed by default. test_venv: run "-m pip" and "-m ensurepip._uninstall" with -W ignore::DeprecationWarning since pip code is not part of Python.
* bpo-31999: Fix test_venv in case the zlib module is not available. (#4359)Serhiy Storchaka2017-11-101-1/+2
|
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-8/+1
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* Fixes #24875: Merged fix from 3.5.Vinay Sajip2017-02-021-8/+14
|\
| * Fixes #24875: pip can now be installed in a venv with --system-site-packages.Vinay Sajip2017-02-021-9/+16
| |
| * Issue #26610: Skip test_with_pip if _ctypes is not available in OpenIndianaBerker Peksag2016-09-181-0/+7
| |
* | Allow ensurepip even when ssl is unavailableDonald Stufft2016-11-021-8/+0
| |
* | Closes #22829: Added --prompt option to venv.Vinay Sajip2016-08-061-0/+11
| |
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
| |
* | test_venv: enhance test_devnull()Victor Stinner2016-03-251-10/+9
| |
* | Skip test_venv.test_with_pip() if ctypes missVictor Stinner2016-03-251-0/+7
| | | | | | | | Issue #26610.
* | Merge 3.5 (test_venv)Victor Stinner2016-03-141-1/+10
|\ \ | |/
| * Fix test_venv on FreeBSD buildbotVictor Stinner2016-03-141-1/+10
| | | | | | | | Ignore pip warning in test_venv.test_with_venv().
* | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-111-1/+1
|/ | | | to format short Python version.
* Issue #25366: Skip test_with_pip when threading module is not availableBerker Peksag2016-01-191-0/+7
| | | | | Some dependencies of pip import threading module unconditionally so we need to skip the test to make buildbots happy.
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+2
| | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadicVictor Stinner2014-10-101-11/+10
| | | | failures on Windows
* Issue #21643: Updated test and fixed logic bug in lib64 symlink creation.Vinay Sajip2014-06-031-11/+16
|
* Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.Vinay Sajip2014-04-151-0/+9
|
* Issue #20053: Mark as an expected failure for 3.4Nick Coghlan2014-02-071-2/+12
|
* Issue #20053: Actually test relevant assumptionNick Coghlan2014-02-071-1/+1
|
* Issue #20053: new test to check an assumptionNick Coghlan2014-02-051-0/+7
|
* Close #20053: ignore default pip config settingsNick Coghlan2014-02-041-9/+28
| | | | | | ensurepip now sets PIP_CONFIG_FILE to os.devnull before import pip from the wheel file. This also ensures venv ignores the default settings when bootstrapping pip.
* Issue #19744: improve ensurepip error when ssl is missingNick Coghlan2013-12-231-2/+5
|
* Close #19734: ignore pip env vars in ensurepipNick Coghlan2013-12-231-9/+5
|
* Issue #19728: don't be sensitive to line endingsNick Coghlan2013-11-301-9/+5
|
* Issue #19728: add private ensurepip._uninstall CLINick Coghlan2013-11-301-16/+50
| | | | | | | | | | | | | | MvL would like to be able to preserve CPython's existing clean uninstall behaviour on Windows before enabling the pip installation option by default. This private CLI means running "python -m ensurepip._uninstall" will remove pip and setuptools before proceeding with the rest of the uninstallation process. If the version of pip differs from the one bootstrapped by CPython, then the uninstallation helper will leave it alone (just like any other pip installed packages)
* Fix and test pip version consistencyNick Coghlan2013-11-301-1/+3
|
* Issue #19734: Also run pip version check in isolated modeNick Coghlan2013-11-241-2/+2
|
* Issue #19734: Ensure test_venv ignores PIP_REQUIRE_VIRTUALENVNick Coghlan2013-11-241-0/+4
|
* Issue #19744 (temp workaround): without ssl, skip pip testNick Coghlan2013-11-241-0/+6
|
* Issue 19734: better diagnostics for test_venv failuresNick Coghlan2013-11-241-4/+16
|
* Close #19694: venv now runs ensurepip in isolated modeNick Coghlan2013-11-231-2/+7
|
* Close #19552: venv and pyvenv ensurepip integrationNick Coghlan2013-11-231-5/+49
|
* Issue #18224: Updated test.Vinay Sajip2013-06-301-4/+0
|\
| * Issue #18224: Updated test.Vinay Sajip2013-06-301-4/+0
| |
* | Closes #15776: pyvenv now works with existing directories.Vinay Sajip2012-10-111-2/+57
|/