[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
|
# ensure we have the version that matches our constraints
|
||||||
# use "--force-reinstall" ensures that it's installed as 'pip'
|
# use "--force-reinstall" ensures that it's installed as 'pip'
|
||||||
call(
|
call(
|
||||||
["python", "-m", "pip", "install", "--force-reinstall", "pip", *dependency_constraint_flags],
|
[
|
||||||
|
"python",
|
||||||
|
"-m",
|
||||||
|
"pip",
|
||||||
|
"install",
|
||||||
|
"--force-reinstall",
|
||||||
|
"pip",
|
||||||
|
*dependency_constraint_flags,
|
||||||
|
],
|
||||||
env=env,
|
env=env,
|
||||||
cwd="/tmp",
|
cwd="/tmp",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -180,7 +180,15 @@ def setup_python(
|
|||||||
# ensure we have the version that matches our constraints
|
# ensure we have the version that matches our constraints
|
||||||
# use "--force-reinstall" ensures that it's installed as 'pip.exe'
|
# use "--force-reinstall" ensures that it's installed as 'pip.exe'
|
||||||
call(
|
call(
|
||||||
["python", "-m", "pip", "install", "--force-reinstall", "pip", *dependency_constraint_flags],
|
[
|
||||||
|
"python",
|
||||||
|
"-m",
|
||||||
|
"pip",
|
||||||
|
"install",
|
||||||
|
"--force-reinstall",
|
||||||
|
"pip",
|
||||||
|
*dependency_constraint_flags,
|
||||||
|
],
|
||||||
env=env,
|
env=env,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user