mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
bpo-34556: Document addition of upgrade_deps to venv.create (GH-20135)
This commit is contained in:
parent
af23f0d3cf
commit
1cba1c9aba
1 changed files with 5 additions and 1 deletions
|
|
@ -249,7 +249,8 @@ creation according to their needs, the :class:`EnvBuilder` class.
|
||||||
There is also a module-level convenience function:
|
There is also a module-level convenience function:
|
||||||
|
|
||||||
.. function:: create(env_dir, system_site_packages=False, clear=False, \
|
.. function:: create(env_dir, system_site_packages=False, clear=False, \
|
||||||
symlinks=False, with_pip=False, prompt=None)
|
symlinks=False, with_pip=False, prompt=None, \
|
||||||
|
upgrade_deps=False)
|
||||||
|
|
||||||
Create an :class:`EnvBuilder` with the given keyword arguments, and call its
|
Create an :class:`EnvBuilder` with the given keyword arguments, and call its
|
||||||
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
|
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
|
||||||
|
|
@ -262,6 +263,9 @@ There is also a module-level convenience function:
|
||||||
.. versionchanged:: 3.6
|
.. versionchanged:: 3.6
|
||||||
Added the ``prompt`` parameter
|
Added the ``prompt`` parameter
|
||||||
|
|
||||||
|
.. versionchanged:: 3.9
|
||||||
|
Added the ``upgrade_deps`` parameter
|
||||||
|
|
||||||
An example of extending ``EnvBuilder``
|
An example of extending ``EnvBuilder``
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue