Temp install of setuptools for import coverage. (#35752)
This commit is contained in:
parent
c20beeef37
commit
f46f6c8dec
1 changed files with 2 additions and 0 deletions
|
@ -83,7 +83,9 @@ class ImportTest(SanityMultipleVersion):
|
||||||
|
|
||||||
# make sure coverage is available in the virtual environment if needed
|
# make sure coverage is available in the virtual environment if needed
|
||||||
if args.coverage:
|
if args.coverage:
|
||||||
|
run_command(args, generate_pip_install('pip', 'sanity.import', packages=['setuptools']), env=env)
|
||||||
run_command(args, generate_pip_install('pip', 'sanity.import', packages=['coverage']), env=env)
|
run_command(args, generate_pip_install('pip', 'sanity.import', packages=['coverage']), env=env)
|
||||||
|
run_command(args, ['pip', 'uninstall', '--disable-pip-version-check', '-y', 'setuptools'], env=env)
|
||||||
run_command(args, ['pip', 'uninstall', '--disable-pip-version-check', '-y', 'pip'], env=env)
|
run_command(args, ['pip', 'uninstall', '--disable-pip-version-check', '-y', 'pip'], env=env)
|
||||||
|
|
||||||
cmd = ['importer.py'] + paths
|
cmd = ['importer.py'] + paths
|
||||||
|
|
Loading…
Reference in a new issue