Skip to content

Commit 264e034

Browse files
authored
bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768)
1 parent 77643c4 commit 264e034

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
@@ -191,6 +191,14 @@ creation according to their needs, the :class:`EnvBuilder` class.
191191
Installs activation scripts appropriate to the platform into the virtual
192192
environment.
193193

194+
.. method:: upgrade_dependencies(context)
195+
196+
Upgrades the core venv dependency packages (currently ``pip`` and
197+
``setuptools``) in the environment. This is done by shelling out to the
198+
``pip`` executable in the environment.
199+
200+
.. versionadded:: 3.8
201+
194202
.. method:: post_setup(context)
195203

196204
A placeholder method which can be overridden in third party

0 commit comments

Comments
 (0)