MCPcopy Create free account
hub / github.com/apache/impala / install_adls_deps

Function install_adls_deps

infra/python/bootstrap_virtualenv.py:258–270  ·  view source on GitHub ↗
(venv_dir)

Source from the content-addressed store, hash-verified

256
257
258def install_adls_deps(venv_dir):
259 # The ADLS dependencies require that the OS is at least CentOS 6.7 or above,
260 # which is why we break this into a seperate step. If the target filesystem is
261 # ADLS, the expectation is that the dev environment is running at least CentOS 6.7.
262 if os.environ.get('TARGET_FILESYSTEM') == "adls":
263 if reqs_are_installed(venv_dir, ADLS_REQS_PATH):
264 LOG.debug("Skipping ADLS deps: matching adls-installed-requirements.txt found")
265 return True
266 cc = select_cc()
267 assert cc is not None
268 LOG.info("Installing ADLS packages into the python3 virtualenv")
269 exec_pip_install(venv_dir, ["-r", ADLS_REQS_PATH], cc=cc)
270 mark_reqs_installed(venv_dir, ADLS_REQS_PATH)
271
272
273def install_gcovr_deps(venv_dir):

Callers 1

Calls 6

reqs_are_installedFunction · 0.85
select_ccFunction · 0.85
exec_pip_installFunction · 0.85
mark_reqs_installedFunction · 0.85
getMethod · 0.65
debugMethod · 0.45

Tested by

no test coverage detected