init_venv: Pass --upgrade to pip install.
On Windows, --system-site-packages is enabled, so pip didn't upgrade pylint from the system-wide version as it was already installed.
This commit is contained in:
parent
2a72d290a7
commit
f6d0907736
@ -81,7 +81,7 @@ def install_dev_packages():
|
||||
"""Install the packages needed for development."""
|
||||
for pkg in get_dev_packages():
|
||||
utils.print_subtitle("Installing {}".format(pkg))
|
||||
venv_python('-m', 'pip', 'install', pkg)
|
||||
venv_python('-m', 'pip', 'install', '--upgrade', pkg)
|
||||
|
||||
|
||||
def venv_python(*args, output=False):
|
||||
|
Loading…
Reference in New Issue
Block a user