[New-bugs-announce] [issue34556] Add --upgrade to venv module
Cooper Lees
report at bugs.python.org
Fri Aug 31 11:25:51 EDT 2018
New submission from Cooper Lees <me at cooperlees.com>:
I'd like to propose add a `--upgrade` to venv module to automatically update pip and potentially setuptools if supplied. This will allow ensuring you have the latest and greatest of these core components.
Example Usage:
python3 -m venv --upgrade /tmp/awesome_venv
This will allow me to skip my next command that I usually always do:
/tmp/awesome_venv/bin/pip install --upgrade pip setuptools
Thoughts? If people are happy, I will look at doing the PR.
I would envision I'll either import (which seems to be a no no from pip maintainers) the upgrade code or just fork pip ...
----------
components: Library (Lib)
messages: 324431
nosy: cooperlees
priority: normal
severity: normal
status: open
title: Add --upgrade to venv module
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34556>
_______________________________________
More information about the New-bugs-announce
mailing list