]> granicus.if.org Git - python/commitdiff
whatsnew: venv with_pip, pyvenv --without-pip (#19552)
authorR David Murray <rdmurray@bitdance.com>
Sun, 9 Mar 2014 22:09:51 +0000 (18:09 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sun, 9 Mar 2014 22:09:51 +0000 (18:09 -0400)
Doc/whatsnew/3.4.rst

index 6913dbcd7997d380f84eba5f1e88a9c6af34b979..6b1af0efc639f56ee8f5e58bc941a977f1b7e0b1 100644 (file)
@@ -1507,6 +1507,12 @@ venv
 :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 @@ Other Improvements
   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.