[New-bugs-announce] [issue42314] Incorrect documentation entry for venv

Adrien report at bugs.python.org
Tue Nov 10 11:06:25 EST 2020


New submission from Adrien <niedra91 at hotmail.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 380684
nosy: ari75, docs at python
priority: normal
severity: normal
status: open
title: Incorrect documentation entry for venv
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42314>
_______________________________________


More information about the New-bugs-announce mailing list