Skip to content

Commit 74b7413

Browse files
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
(cherry picked from commit 264e034) Co-authored-by: Vinay Sajip <[email protected]>
1 parent d4391aa commit 74b7413

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/library/venv.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@ creation according to their needs, the :class:`EnvBuilder` class.
186186
Installs activation scripts appropriate to the platform into the virtual
187187
environment.
188188

189+
.. method:: upgrade_dependencies(context)
190+
191+
Upgrades the core venv dependency packages (currently ``pip`` and
192+
``setuptools``) in the environment. This is done by shelling out to the
193+
``pip`` executable in the environment.
194+
195+
.. versionadded:: 3.8
196+
189197
.. method:: post_setup(context)
190198

191199
A placeholder method which can be overridden in third party

0 commit comments

Comments
 (0)