[Python-checkins] bpo-38928: Fix versionadded for venv's upgrade_deps function (GH-17404)

Vinay Sajip webhook-mailer at python.org
Wed Nov 27 15:22:08 EST 2019


https://github.com/python/cpython/commit/045d4e243d042638bbbc9479d4f85f6f579ac3ca
commit: 045d4e243d042638bbbc9479d4f85f6f579ac3ca
branch: master
author: Tzu-ping Chung <uranusjr at gmail.com>
committer: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: 2019-11-27T20:21:48Z
summary:

bpo-38928: Fix versionadded for venv's upgrade_deps function (GH-17404)

files:
A Misc/NEWS.d/next/Documentation/2019-11-27-17-51-27.bpo-38928.AfgvfO.rst
M Doc/library/venv.rst

diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst
index b29fb3ebb60ea..5494c0c878bc5 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 0000000000000..952d4a8664d33
--- /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.



More information about the Python-checkins mailing list