[Python-Dev] PEP 453 Round 4 - Explicit bootstrapping of pip in Python installations
donald at stufft.io
Thu Sep 19 16:15:45 CEST 2013
I've updated the PEP to include the solution for Debian that Nick
mentioned and to clarify the behavior in the upgrade case.
diff -r 2899ba3bcef1 pep-0453.txt
--- a/pep-0453.txt Thu Sep 19 09:23:03 2013 -0400
+++ b/pep-0453.txt Thu Sep 19 10:12:59 2013 -0400
@@ -294,7 +294,9 @@
This ensures that, by default, installing or updating CPython will ensure
Update PEP453 to address Debian's concerns and Antoine's
that the installed version of pip is at least as recent as the one included
-with that version of CPython.
+with that version of CPython. If a newer version of pip has already been
+installed then ``python -m extractpip --upgrade`` will simply return without
Installing from source
@@ -532,6 +534,12 @@
* This may take the form of separate packages with dependencies on each
other so that installing the Python package installs the pip package
and installing the pip package installs the Python package.
+ * Another reasonable way to implement this is to package pip separately but
+ ensure that there is some sort of global hook that will recommend
+ installing the separate pip package when a user executes ``pip`` without
+ it being installed. Systems that choose this option should ensure that
+ the ``pyvenv`` command still installs pip into the virtual environment
+ by default.
* Do not remove the bundled copy of pip.
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Python-Dev