summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ensurepip.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow ensurepip even when ssl is unavailableDonald Stufft2016-11-031-65/+0
|
* Merge the fix for #24267Donald Stufft2015-06-021-5/+20
|\
| * Closes #24267 - Does not check version on ensurepip uninstallDonald Stufft2015-06-021-5/+20
| | | | | | | | | | | | Ensure that the uninstall helper for Windows passes the proper flags to pip to prevent it from checking PyPI if the pip that we're currently attempting to uninstall is the latest verison.
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-1/+1
|/ | | | | | | 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.
* use the called property of the run_pip mock rather than an assertion method ↵Benjamin Peterson2014-04-161-8/+8
| | | | that doesn't exist
* Close #20757: return success for skipped pip uninstallNick Coghlan2014-02-281-2/+4
| | | | | | | | The 3.4rc2 Windows uninstaller would fail if pip had been updated to a version that didn't match the version installed by ensurepip. This skip is no longer treated as an error, so an updated pip ends up being handled like any other pip installed package and is left alone by the CPython uninstaller.
* Issue #19744: Handle missing SSL/TLS in ensurepipNick Coghlan2014-02-141-0/+8
| | | | | - now also allows POSIX installation with SSL/TLS missing - a goal for pip 1.6 is to allow local use without SSL/TLS
* Close #20053: ignore default pip config settingsNick Coghlan2014-02-041-0/+16
| | | | | | 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.
* Update pip to the released 1.5Donald Stufft2014-01-021-8/+8
|
* Issue #19744: improve ensurepip error when ssl is missingNick Coghlan2013-12-231-0/+57
|
* Issue #19728: fix ensurepip name clash with submoduleNick Coghlan2013-12-231-23/+60
| | | | | Also added refactoring and added basic tests for the argument parsing in both ensurepip._main and ensurepip._uninstall._main.
* Issue #19734: ignore pip env vars in ensurepip._uninstallNick Coghlan2013-12-231-0/+14
|
* Close #19734: ignore pip env vars in ensurepipNick Coghlan2013-12-231-0/+8
|
* Issue #19728: add private ensurepip._uninstall CLINick Coghlan2013-11-301-0/+75
| | | | | | | | | | | | | | 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)
* Avoid global side effect in test_ensurepipNick Coghlan2013-11-131-3/+8
|
* Close #19406: Initial implementation of ensurepipNick Coghlan2013-11-111-0/+123
Patch by Donald Stufft and Nick Coghlan