Serhiy Storchaka
5e0df74b3b
bpo-31999: Fix test_venv in case the zlib module is not available. ( #4359 )
2017-11-10 12:09:39 +02:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
Vinay Sajip
993f535ae9
Fixes #24875 : Merged fix from 3.5.
2017-02-02 19:17:02 +00:00
Vinay Sajip
db6322cb8a
Fixes #24875 : pip can now be installed in a venv with --system-site-packages.
2017-02-02 19:05:19 +00:00
Donald Stufft
c96b8fcf25
Allow ensurepip even when ssl is unavailable
2016-11-02 20:32:37 -04:00
Berker Peksag
5a5ae745ff
Issue #26610 : Skip test_with_pip if _ctypes is not available in OpenIndiana
2016-09-18 14:52:25 +03:00
Vinay Sajip
fd0f84bd8f
Closes #22829 : Added --prompt option to venv.
2016-08-06 10:43:44 +01:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Victor Stinner
bdc337b7a8
test_venv: enhance test_devnull()
2016-03-25 12:30:40 +01:00
Victor Stinner
b347788b82
Skip test_venv.test_with_pip() if ctypes miss
...
Issue #26610 .
2016-03-25 12:27:02 +01:00
Victor Stinner
0ab7d0978b
Merge 3.5 (test_venv)
2016-03-14 18:22:12 +01:00
Victor Stinner
87d6e1364c
Fix test_venv on FreeBSD buildbot
...
Ignore pip warning in test_venv.test_with_venv().
2016-03-14 18:21:58 +01:00
Serhiy Storchaka
885bdc4946
Issue #25985 : sys.version_info is now used instead of sys.version
...
to format short Python version.
2016-02-11 13:10:36 +02:00
Berker Peksag
1b25eff76e
Issue #25366 : Skip test_with_pip when threading module is not available
...
Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.
2016-01-19 02:01:53 +02:00
Zachary Ware
38c707e7e0
Issue #21741 : Update 147 test modules to use test discovery.
...
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.
2015-04-13 15:00:43 -05:00
Victor Stinner
866c4e2188
test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadic
...
failures on Windows
2014-10-10 14:23:00 +02:00
Vinay Sajip
b9b965f6dd
Issue #21643 : Updated test and fixed logic bug in lib64 symlink creation.
2014-06-03 16:47:51 +01:00
Vinay Sajip
1e53f8d9bf
Issue #21197 : Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
2014-04-15 11:18:10 +01:00
Nick Coghlan
11c5afd138
Issue #20053 : Mark as an expected failure for 3.4
2014-02-07 23:46:38 +10:00
Nick Coghlan
d49fa5eb11
Issue #20053 : Actually test relevant assumption
2014-02-07 22:28:18 +10:00
Nick Coghlan
456ab5d909
Issue #20053 : new test to check an assumption
2014-02-05 23:54:55 +10:00
Nick Coghlan
6edd82a1d2
Close #20053 : ignore default pip config settings
...
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.
2014-02-04 23:02:36 +10:00
Nick Coghlan
ae2ee96ad7
Issue #19744 : improve ensurepip error when ssl is missing
2013-12-23 23:07:07 +10:00
Nick Coghlan
6256fcbc97
Close #19734 : ignore pip env vars in ensurepip
2013-12-23 16:16:07 +10:00
Nick Coghlan
8ddd59e870
Issue #19728 : don't be sensitive to line endings
2013-11-30 18:35:32 +10:00
Nick Coghlan
fdf3a620a2
Issue #19728 : add private ensurepip._uninstall CLI
...
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)
2013-11-30 17:15:09 +10:00
Nick Coghlan
1b1b1789d0
Fix and test pip version consistency
2013-11-30 15:56:58 +10:00
Nick Coghlan
1d1d834328
Issue #19734 : Also run pip version check in isolated mode
2013-11-24 16:49:20 +10:00
Nick Coghlan
091167c1ca
Issue #19734 : Ensure test_venv ignores PIP_REQUIRE_VIRTUALENV
2013-11-24 14:58:31 +10:00
Nick Coghlan
878d258a22
Issue #19744 (temp workaround): without ssl, skip pip test
2013-11-24 12:45:25 +10:00
Nick Coghlan
6fd12f2b33
Issue 19734: better diagnostics for test_venv failures
2013-11-24 11:36:31 +10:00
Nick Coghlan
d76cdc161e
Close #19694 : venv now runs ensurepip in isolated mode
2013-11-23 11:37:28 +10:00
Nick Coghlan
8fbdb097cf
Close #19552 : venv and pyvenv ensurepip integration
2013-11-23 00:30:34 +10:00
Vinay Sajip
53b1c24f54
Issue #18224 : Updated test.
2013-06-30 22:11:46 +01:00
Vinay Sajip
ef1f777e0a
Issue #18224 : Updated test.
2013-06-30 22:11:10 +01:00
Vinay Sajip
bd40d3e144
Closes #15776 : pyvenv now works with existing directories.
2012-10-11 17:22:45 +01:00
Antoine Pitrou
9c92a691e1
Fix test_venv to work with universal newlines (issue #13119 )
2012-08-05 00:33:10 +02:00
Vinay Sajip
90db661b43
Closes #15307 : symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren.
2012-07-17 17:33:46 +01:00
Vinay Sajip
509d87d4a0
Issue #15307 : Skipped test_venv:test_prefixes when run from a venv.
2012-07-15 16:12:54 +01:00
Ned Deily
045bd5340f
Issue #15241 : Fix test_prefixes failure in test_venv due to symlink in
...
tempfile directory path (i.e. on OS X /tmp is actually /private/tmp).
2012-07-13 15:48:04 -07:00
Vinay Sajip
3874e547b4
Issue #15241 : Added test for venv prefixes.
2012-07-03 16:56:40 +01:00
Vinay Sajip
2895244653
Closes #15173 : Tidied up copyright statements and removed pythonv references.
2012-06-25 00:47:46 +01:00
Éric Araujo
aa789ace66
Restore test that was using pysetup and can now ( #15157 ) use pydoc
2012-06-24 13:51:22 -04:00
Éric Araujo
859aad6a36
Remove packaging from the standard library.
...
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Vinay Sajip
c1f0b53875
Updated test to reflect renamed file.
2012-05-29 22:29:50 +01:00
Vinay Sajip
ef4c5010e4
Fixed typo.
2012-05-28 17:01:17 +01:00
Vinay Sajip
382a7c0180
Tweaked tests to use launcher executable name on OS X.
2012-05-28 16:34:47 +01:00
Vinay Sajip
393da3240a
Changed executable name computation in test_venv to allow for debug executables.
2012-05-27 19:05:36 +01:00
Vinay Sajip
b3b49cd1d2
Refined venv tests.
2012-05-27 18:39:22 +01:00
Vinay Sajip
7e203498d1
Fixed _sys_home computation and added diagnostics for Windows buildbot failures.
2012-05-27 17:30:09 +01:00