Always install requirements of after_dependencies (#79094)

This commit is contained in:
Erik Montnemery 2022-09-26 15:59:01 +02:00 committed by GitHub
parent 2667f0b792
commit 408069cb0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -357,11 +357,10 @@ async def async_process_deps_reqs(
if failed_deps := await _async_process_dependencies(hass, config, integration):
raise DependencyError(failed_deps)
if not hass.config.skip_pip and integration.requirements:
async with hass.timeout.async_freeze(integration.domain):
await requirements.async_get_integration_with_requirements(
hass, integration.domain
)
async with hass.timeout.async_freeze(integration.domain):
await requirements.async_get_integration_with_requirements(
hass, integration.domain
)
processed.add(integration.domain)