mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Avoid problems upgrading pip on windows
This commit is contained in:
parent
4d3b4ad819
commit
dbee761249
1 changed files with 5 additions and 1 deletions
|
@ -271,12 +271,16 @@ def _install_requirements(session, transport, *extra_requirements):
|
|||
return
|
||||
|
||||
install_command = [
|
||||
"python",
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"--progress-bar=off",
|
||||
"-U",
|
||||
"pip",
|
||||
"setuptools!=50.*,!=51.*,!=52.*",
|
||||
]
|
||||
session.install(*install_command, silent=PIP_INSTALL_SILENT)
|
||||
session.run(*install_command, silent=PIP_INSTALL_SILENT)
|
||||
|
||||
# Install requirements
|
||||
requirements_file = _get_pip_requirements_file(session, transport)
|
||||
|
|
Loading…
Add table
Reference in a new issue