[Python-checkins] peps: Update PEP453 to address Debian's concerns and Antoine's

donald.stufft python-checkins at python.org
Thu Sep 19 16:14:09 CEST 2013


http://hg.python.org/peps/rev/6c1b658bc16c
changeset:   5138:6c1b658bc16c
user:        Donald Stufft <donald at stufft.io>
date:        Thu Sep 19 10:14:02 2013 -0400
summary:
  Update PEP453 to address Debian's concerns and Antoine's

files:
  pep-0453.txt |  10 +++++++++-
  1 files changed, 9 insertions(+), 1 deletions(-)


diff --git a/pep-0453.txt b/pep-0453.txt
--- a/pep-0453.txt
+++ b/pep-0453.txt
@@ -294,7 +294,9 @@
 
 This ensures that, by default, installing or updating CPython will ensure
 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
+doing anything.
 
 
 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.
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list