[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -236,7 +236,15 @@ def setup_python(
|
||||
# ensure we have the version that matches our constraints
|
||||
# use "--force-reinstall" ensures that it's installed as 'pip'
|
||||
call(
|
||||
["python", "-m", "pip", "install", "--force-reinstall", "pip", *dependency_constraint_flags],
|
||||
[
|
||||
"python",
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"--force-reinstall",
|
||||
"pip",
|
||||
*dependency_constraint_flags,
|
||||
],
|
||||
env=env,
|
||||
cwd="/tmp",
|
||||
)
|
||||
|
||||
@@ -180,7 +180,15 @@ def setup_python(
|
||||
# ensure we have the version that matches our constraints
|
||||
# use "--force-reinstall" ensures that it's installed as 'pip.exe'
|
||||
call(
|
||||
["python", "-m", "pip", "install", "--force-reinstall", "pip", *dependency_constraint_flags],
|
||||
[
|
||||
"python",
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"--force-reinstall",
|
||||
"pip",
|
||||
*dependency_constraint_flags,
|
||||
],
|
||||
env=env,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user