[Python-Dev] [Python-checkins] cpython: whatsnew: venv with_pip, pyvenv --without-pip (#19552) (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Mon Mar 10 14:04:19 CET 2014
- Previous message: [Python-Dev] Windows 'for current user' installation - 32/64-bit registrations overwrite each other
- Next message: [Python-Dev] [Python-checkins] cpython: whatsnew: 'U' mode deprecation (#15204).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10 Mar 2014 08:51, "r.david.murray" <python-checkins at python.org> wrote:
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 withpip, 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 thecsh
andfish
shells (Contributed by Andrew Svetlov in :issue:15417
.) +:class:~venv.EnvBuilder
and the :func:~venv.create
convenience function +take a new keyword argument withpip, which defaults toFalse
, that +controls whether or not :class:~venv.EnvBuilder
ensures thatpip
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.)
It just occurred to me that we should probably have a porting note about that CLI change. We decided that changing the default CLI behaviour, while preserving the default module API was the best available compromise, but anyone that is invoking the CLI programmatically and wants to skip bootstrapping pip will still need to change their command.
Cheers, Nick.
+ * 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
Python-checkins mailing list Python-checkins at python.org https://mail.python.org/mailman/listinfo/python-checkins -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140310/a098100d/attachment.html>
- Previous message: [Python-Dev] Windows 'for current user' installation - 32/64-bit registrations overwrite each other
- Next message: [Python-Dev] [Python-checkins] cpython: whatsnew: 'U' mode deprecation (#15204).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]