From 045d4e243d042638bbbc9479d4f85f6f579ac3ca Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Thu, 28 Nov 2019 04:21:48 +0800 Subject: [PATCH] bpo-38928: Fix versionadded for venv's upgrade_deps function (GH-17404) --- Doc/library/venv.rst | 4 ++-- .../Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index b29fb3ebb60..5494c0c878b 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -132,7 +132,7 @@ creation according to their needs, the :class:`EnvBuilder` class. .. versionadded:: 3.6 Added the ``prompt`` parameter - .. versionadded:: 3.8 + .. versionadded:: 3.9 Added the ``upgrade_deps`` parameter Creators of third-party virtual environment tools will be free to use the @@ -197,7 +197,7 @@ creation according to their needs, the :class:`EnvBuilder` class. ``setuptools``) in the environment. This is done by shelling out to the ``pip`` executable in the environment. - .. versionadded:: 3.8 + .. versionadded:: 3.9 .. method:: post_setup(context) diff --git a/Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst b/Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst new file mode 100644 index 00000000000..952d4a8664d --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst @@ -0,0 +1,2 @@ +Correct when venv's ``upgrade_dependencies()`` and ``--upgrade-deps`` are +added.