summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-10 07:31:56 (GMT)
committerGitHub <noreply@github.com>2019-09-10 07:31:56 (GMT)
commit74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb (patch)
treef53b81ba81e31a569ad30599469f2ebfc31b7733
parentd4391aa5eb4767e19b7b380a836413e7c47f1fb4 (diff)
downloadcpython-74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb.zip
cpython-74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb.tar.gz
cpython-74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb.tar.bz2
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
(cherry picked from commit 264e034f990240e2aa379d8484b15b9e70c1fad5) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
-rw-r--r--Doc/library/venv.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index 1e825c3c..a834ac7 100644
--- a/Doc/library/venv.rst
+++ b/Doc/library/venv.rst
@@ -186,6 +186,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