[Python-checkins] cpython: whatsnew: venv with_pip, pyvenv --without-pip (#19552)

r.david.murray python-checkins at python.org
Sun Mar 9 23:50:30 CET 2014


http://hg.python.org/cpython/rev/a140caad76bc
changeset:   89539:a140caad76bc
user:        R David Murray <rdmurray at bitdance.com>
date:        Sun Mar 09 18:09:51 2014 -0400
summary:
  whatsnew: venv with_pip, pyvenv --without-pip (#19552)

files:
  Doc/whatsnew/3.4.rst |  11 +++++++++++
  1 files changed, 11 insertions(+), 0 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1507,6 +1507,12 @@
 :mod:`venv` now includes activation scripts for the ``csh`` and ``fish``
 shells (Contributed by Andrew Svetlov in :issue:`15417`.)
 
+:class:`~venv.EnvBuilder` and the :func:`~venv.create` convenience function
+take a new keyword argument *with_pip*, which defaults to ``False``, that
+controls whether or not :class:`~venv.EnvBuilder` ensures that ``pip`` is
+installed in the virtual environment.  (Contributed by Nick Coghlan in
+:issue:`19552` as part of the :pep:`453` implementation.)
+
 
 wave
 ----
@@ -1772,6 +1778,11 @@
   to use copies rather than symlinks even on systems where symlinks are the
   default.  (Contributed by Vinay Sajip in :issue:`18807`.)
 
+* The :ref:`pyvenv <scripts-pyvenv>` command also accepts a ``--without-pip``
+  option to suppress the otherwise-automatic bootstrapping of pip into
+  the virtual environment.  (Contributed by Nick Coghlan in :issue:`19552`
+  as part of the :pep:`453` implementation.)
+
 * The encoding name is now optional in the value set for the
   :envvar:`PYTHONIOENCODING` environment variable.  This makes it possible to
   set just the error handler, without changing the default encoding.

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


More information about the Python-checkins mailing list