Commit c4025770 authored by R David Murray's avatar R David Murray

whatsnew: venv with_pip, pyvenv --without-pip (#19552)

parent 2450c1d5
...@@ -1507,6 +1507,12 @@ venv ...@@ -1507,6 +1507,12 @@ venv
:mod:`venv` now includes activation scripts for the ``csh`` and ``fish`` :mod:`venv` now includes activation scripts for the ``csh`` and ``fish``
shells (Contributed by Andrew Svetlov in :issue:`15417`.) 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 wave
---- ----
...@@ -1772,6 +1778,11 @@ Other Improvements ...@@ -1772,6 +1778,11 @@ Other Improvements
to use copies rather than symlinks even on systems where symlinks are the to use copies rather than symlinks even on systems where symlinks are the
default. (Contributed by Vinay Sajip in :issue:`18807`.) 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 * The encoding name is now optional in the value set for the
:envvar:`PYTHONIOENCODING` environment variable. This makes it possible to :envvar:`PYTHONIOENCODING` environment variable. This makes it possible to
set just the error handler, without changing the default encoding. set just the error handler, without changing the default encoding.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment