[Python-checkins] bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)

Vinay Sajip webhook-mailer at python.org
Mon Sep 9 09:50:45 EDT 2019


https://github.com/python/cpython/commit/264e034f990240e2aa379d8484b15b9e70c1fad5
commit: 264e034f990240e2aa379d8484b15b9e70c1fad5
branch: master
author: Vinay Sajip <vinay_sajip at yahoo.co.uk>
committer: GitHub <noreply at github.com>
date: 2019-09-09T14:50:38+01:00
summary:

bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)

files:
M Doc/library/venv.rst

diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index 62732d224386..c674b02a7065 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -191,6 +191,14 @@ creation according to their needs, the :class:`EnvBuilder` class.
         Installs activation scripts appropriate to the platform into the virtual
         environment.
 
+    .. method:: upgrade_dependencies(context)
+
+       Upgrades the core venv dependency packages (currently ``pip`` and
+       ``setuptools``) in the environment. This is done by shelling out to the
+       ``pip`` executable in the environment.
+
+       .. versionadded:: 3.8
+
     .. method:: post_setup(context)
 
         A placeholder method which can be overridden in third party



More information about the Python-checkins mailing list