Commit Graph

20 Commits

Author SHA1 Message Date
Nick Coghlan a46cf12e99 Close #20757: return success for skipped pip uninstall
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.
2014-02-28 23:35:05 +10:00
Donald Stufft e2df3ea682 Upgrade pip from 1.5.3 to 1.5.4 2014-02-21 07:42:39 -05:00
Donald Stufft b0b75a1922 Upgrade pip from 1.5.2 to 1.5.3 2014-02-20 20:53:27 -05:00
Nick Coghlan c00fa6387d Issue #19744: Handle missing SSL/TLS in ensurepip
- now also allows POSIX installation with SSL/TLS missing
- a goal for pip 1.6 is to allow local use without SSL/TLS
2014-02-15 09:14:54 +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
Donald Stufft 0711dd921b Update pip to 1.5.2 and setuptools to 2.1 2014-01-26 00:22:39 -05:00
Donald Stufft f7f58f8db5 Update pip to the released 1.5 2014-01-02 09:33:35 -05:00
Donald Stufft d9ddd3f9ba Update setuptools to 2.0.2 2013-12-31 06:52:47 -05:00
Donald Stufft 73777c48dd Update pip to 1.5rc4 2013-12-31 06:49:54 -05:00
Donald Stufft 1896dc5efd Update bundled pip to 1.5rc3 2013-12-27 02:07:49 -05:00
Nick Coghlan ae2ee96ad7 Issue #19744: improve ensurepip error when ssl is missing 2013-12-23 23:07:07 +10:00
Nick Coghlan f71cae0a93 Issue #19728: fix ensurepip name clash with submodule
Also added refactoring and added basic tests for the argument
parsing in both ensurepip._main and ensurepip._uninstall._main.
2013-12-23 18:20:34 +10:00
Nick Coghlan ed9af52ff0 Issue #19734: ignore pip env vars in ensurepip._uninstall 2013-12-23 17:39:12 +10:00
Nick Coghlan 6256fcbc97 Close #19734: ignore pip env vars in ensurepip 2013-12-23 16:16:07 +10:00
Donald Stufft 8b36dace41 Upgrade pip to 1.5rc2 and setuptools to 2.0.1 2013-12-20 19:03:18 -05:00
Nick Coghlan 60f08c83f9 Issue #19726: actually running 'hg add' helps... 2013-11-30 17:45:09 +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 0b61ef6f79 Update bundled pip to 1.5rc1 2013-11-22 23:32:24 +10:00
Nick Coghlan d0cf0635b3 Close #19406: Initial implementation of ensurepip
Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10:00