This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dstufft
Recipients doko, dstufft, ncoghlan, ned.deily
Date 2014-11-09.16:58:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415552336.2.0.341439932145.issue22827@psf.upfronthosting.co.za>
In-reply-to
Content
As specified in PEP 477, this backports PEP 453 (ensurepip) to the Python 2.7 branch. Key differences from PEP 453 are:

* It is not run by default in the Makefile
* There is no venv modules, so downstream can remove it (though are asked to patch it to provide instructions redirecting people to how they should install pip).
* The ``pip`` command is installed as well as ``pipX`` and ``pipX.Y``.
* Given the above, --default-pip is hidden and no-oped and --no-default-pip is added to restore the Python 3.x behavior.

This also includes a (slightly modified to make it work on 2.x) backport of unittest.mock as test._mock_backport in order to make it reasonable to run the ensurepip tests without actually installing pip.

This patch does not include any changes to the Windows installers or to the OS X installers. I've nosey'd Ned Deily for the OS X installer changes, I'm not sure who is doing the Windows Installers now adays.

Note: The attached patch does not contain the actual .whl files which are required. This is because it makes the patch into a 2M patch and the tracker didn't like that very much. This patch can be applied and then just copy over the Lib/ensurepip/_bundled directory from Python 3.4.
History
Date User Action Args
2014-11-09 16:59:16dstufftsetrecipients: + dstufft, doko, ncoghlan, ned.deily
2014-11-09 16:58:56dstufftsetmessageid: <1415552336.2.0.341439932145.issue22827@psf.upfronthosting.co.za>
2014-11-09 16:58:56dstufftlinkissue22827 messages
2014-11-09 16:58:55dstufftcreate