This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Incorrect documentation entry for venv
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: ZackerySpytz, ari75, docs@python, vinay.sajip
Priority: normal Keywords: patch

Created on 2020-11-10 16:06 by ari75, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23232 merged ZackerySpytz, 2020-11-10 19:21
Messages (2)
msg380684 - (view) Author: Adrien (ari75) Date: 2020-11-10 16:06
Hello,

I am reading the venv official documentation available here:
https://docs.python.org/3/library/venv.html

If I pick English - 3.9.0, it's stated:
"Changed in version 3.8: Add --upgrade-deps option to upgrade pip + setuptools to the latest on PyPI"

When I run this my laptop:
$ python3 --version
Python 3.8.5

$ python3 -m venv venv-myproject --clear --upgrade-deps
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear] [--upgrade] [--without-pip] [--prompt PROMPT] ENV_DIR [ENV_DIR ...]
venv: error: unrecognized arguments: --upgrade-deps

If I pick English - 3.8(.6), I (correctly) don't see the option in the documentation.

Please fix the documentation of 3.9 to indicates that this option was changed (added) in 3.9 and not 3.8

Thanks!
Adrien
msg380725 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2020-11-10 23:06
New changeset f8bea0a44d718296a249bdb766b8dbc92f38e8df by Zackery Spytz in branch '3.9':
[3.9] bpo-4bpo-42314: Fix the documentation for venv --upgrade-deps (GH-22113) (GH-23232)
https://github.com/python/cpython/commit/f8bea0a44d718296a249bdb766b8dbc92f38e8df
History
Date User Action Args
2022-04-11 14:59:37adminsetgithub: 86480
2020-11-11 12:27:04vinay.sajipsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-11-10 23:06:38vinay.sajipsetnosy: + vinay.sajip
messages: + msg380725
2020-11-10 19:21:04ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request22128
stage: patch review
2020-11-10 16:06:25ari75create