Skip to content

bpo-34556: Document addition of upgrade_deps to venv.create #20135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Doc/library/venv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ creation according to their needs, the :class:`EnvBuilder` class.
There is also a module-level convenience function:

.. 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
:meth:`~EnvBuilder.create` method with the *env_dir* argument.
Expand All @@ -262,6 +263,9 @@ There is also a module-level convenience function:
.. versionchanged:: 3.6
Added the ``prompt`` parameter

.. versionchanged:: 3.9
Added the ``upgrade_deps`` parameter

An example of extending ``EnvBuilder``
--------------------------------------

Expand Down