From 38b3f722ca180588778b95ad4a1bf28bfe691c84 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Mon, 9 Sep 2019 13:18:23 +0100 Subject: [PATCH] Documented venv.EnvBuilder.upgrade_dependencies(). --- Doc/library/venv.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 62732d22438672..c674b02a7065a9 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